The GitHub Actions job "Docs 404 check (beta)" on 
flink.git/FLINK-41305-raw-variant-utf8 has succeeded.
Run started by GitHub user raminqaf (triggered by raminqaf).

Head commit for run:
e17dab58f80a98fe7a7c48d9d148ca5ae97cd5ec / Ramin Gharib <[email protected]>
[FLINK-41323][table-runtime] Add a binary encoding for a VARIANT column in the 
raw format

The raw format reads and writes a VARIANT column as a JSON document. JSON has 
no type for dates, times, timestamps, bytes or UUIDs, so a round trip turns 
those values into strings. Every message is also parsed on read and rendered on 
write.

The new option 'raw.variant-encoding' takes 'json', the default, or 'binary'. 
With 'binary', a message holds the Variant binary encoding, the metadata 
followed by the value. The metadata states its own length, so the reader splits 
the message without a separator and wraps the two parts without parsing. Every 
Variant type survives the round trip. The bytes are only checked as far as 
needed to split them, so a malformed value fails when it is read. 'binary' 
ignores 'raw.charset'.

The docs call the JSON round trip lossy, and recommend 'binary' for correctness 
and performance and 'json' for convenience.

Generated-by: Claude Code 2.1.316 (Claude Opus 5.5)

Report URL: https://github.com/apache/flink/actions/runs/41823745714

With regards,
GitHub Actions via GitBox

Reply via email to