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

Head commit for run:
e4f57af9e7915ebf7f1a6b62e52e0bf0013f26dd / Ramin Gharib <[email protected]>
[FLINK-40825][table] Support casting primitive types to VARIANT

CAST and TRY_CAST now convert BOOLEAN, numeric, character string, binary 
string, DATE, TIME, TIMESTAMP, TIMESTAMP_LTZ, and UUID values to VARIANT. 
SqlCastFunction rejected every cast to VARIANT, and now routes a VARIANT target 
to LogicalTypeCasts, which lists the supported sources explicitly. A type 
without a VARIANT kind, such as INTERVAL, is rejected at validation, and the 
cast is explicit only. The value keeps the kind of its SQL type, so an integer 
keeps its width and a string is wrapped rather than parsed. A timestamp keeps 
its declared precision: up to 6 it is stored with microseconds and above with 
nanoseconds. Nanoseconds only cover 1677-09-21 to 2262-04-11, so such a value 
outside that range fails, which is the only way the new 
PrimitiveToVariantCastRule can fail. NaN and infinity are stored as is, since a 
VARIANT is not limited to what JSON can express. Constructed types follow in 
FLINK-40826.

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

With regards,
GitHub Actions via GitBox

Reply via email to