The GitHub Actions job "Docs 404 check (beta)" on 
flink.git/FLINK-40826-constructed-cast-variant has failed.
Run started by GitHub user raminqaf (triggered by raminqaf).

Head commit for run:
e602db50af08a5869c6dabc3cde3c9c37836d093 / Ramin Gharib <[email protected]>
[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/37276013596

With regards,
GitHub Actions via GitBox

Reply via email to