You are viewing a plain text version of this content. The canonical link for it is here.
Posted to builds@flink.apache.org by GitBox <gi...@apache.org> on 2026/10/05 07:03:03 UTC
[GH] (flink/FLINK-40826-constructed-cast-variant): Workflow run "Docs 404 check (beta)" is working again!
The GitHub Actions job "Docs 404 check (beta)" on flink.git/FLINK-40826-constructed-cast-variant has succeeded.
Run started by GitHub user raminqaf (triggered by AHeise).
Head commit for run:
42495c37113683f9c268cdcbbaf85a10a6b1a35c / Ramin Gharib <ra...@gmail.com>
[FLINK-40826][table] Support casting ARRAY, MAP, ROW and STRUCTURED to VARIANT
CAST and TRY_CAST now turn a whole constructed value into one VARIANT. An ARRAY becomes a variant array, and a MAP, ROW or STRUCTURED value a variant object keyed by its field names or its character string keys. A NULL element, field or map value becomes a variant null, and a nested VARIANT is embedded as is. Leaves are stored like the cast to VARIANT stores them on their own. A NULL map key fails the cast, and so does a value over the 16 MiB of a VARIANT.
The value is written into a single builder by a ToVariantConverter that the generated code creates once per type, so a nested value is encoded in one pass. The converter lives in flink-table-runtime so that formats can reuse it. Cast rules can declare such an object for the generated code through CodeGeneratorCastRule.Context#declareReusableObject.
Report URL: https://github.com/apache/flink/actions/runs/37019190764
With regards,
GitHub Actions via GitBox