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:
c210598c9e865846f39e4bd283a1be5cdb38b116 / 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 copied in 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 or a 
VARIANT nested too deeply to copy.

LogicalTypeCasts allows these casts when every leaf casts to VARIANT and every 
MAP key is a character string. ToVariantCastRule accepts them, and its canFail 
treats every ARRAY, MAP and nested VARIANT as fallible and bounds the size of a 
ROW by the declared sizes of its fields.

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

With regards,
GitHub Actions via GitBox

Reply via email to