Closed mccanne closed 4 years ago
Maybe we should have uint8 and int8?
We adopted int8 and uint8 ini zng-beta and abandoned byte so this is done. bytes[k] will give a uint8.
Per the previous comment, the change in #1394 was to remove byte
from the Primitive Types in the ZNG spec and use uint8
in contexts where we'd previously envisioned byte
would be applicable. This is not to be confused with the bytes
(plural!) type that remains.
Also per the comment above, the ability to invoke the index operator in ZQL such that "bytes[k] will give a uint8" has yet to be addressed. That is tracked in #1421.
Implement the byte type and add to coercion logic.