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

Head commit for run:
37b868ace512a07388977bc4d8d323cdc08ab034 / Ramin Gharib <[email protected]>
[FLINK-40580][table] Render a VARIANT object or array as JSON when casting to a 
character string

Casting a VARIANT to a character string rendered a stored scalar the way a 
regular SQL cast of that kind would, but an object or array had no scalar form 
and failed with a message pointing to JSON_STRING. This makes CAST(v AS STRING) 
render an object or array as its JSON representation instead, reusing 
Variant#toJson(), the same text JSON_STRING and the result-print path produce.

Scalar rendering is unchanged: a top-level scalar string still casts unquoted, 
while a string nested inside a rendered container stays quoted. A bounded 
CHAR(n)/VARCHAR(n) target trims the rendered JSON like any other over-length 
value, TRY_CAST returns the same JSON rather than NULL, and a VARIANT storing a 
JSON null still casts to SQL NULL. Only OBJECT and ARRAY change; other 
unsupported scalar kinds keep failing.

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

With regards,
GitHub Actions via GitBox

Reply via email to