Ramin Gharib created FLINK-40491:
------------------------------------

             Summary: Decode/accessor support in BinaryVariant for codes 17-20
                 Key: FLINK-40491
                 URL: https://issues.apache.org/jira/browse/FLINK-40491
             Project: Flink
          Issue Type: Sub-task
          Components: Table SQL / API
            Reporter: Ramin Gharib
            Assignee: Ramin Gharib


Read the four new variant primitives. Independent of the Flink UUID type
(getUuid returns java.util.UUID).

Scope:
- Variant.Type: TIME, TIMESTAMP_NS, TIMESTAMP_LTZ_NS, UUID
- BinaryVariantUtil.getType() and valueSize() for codes 17-20
- accessors getTime() -> LocalTime, getUuid() -> java.util.UUID
- reuse getTimestamp()/getInstant() for the nanosecond timestamps

Verifying: decode tests for each code, incl. bytes produced by Spark/Iceberg.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to