The GitHub Actions job "Docs 404 check (beta)" on 
flink.git/FLINK-40319-41301-variant-casts has succeeded.
Run started by GitHub user raminqaf (triggered by raminqaf).

Head commit for run:
cb9f1980bf2f45b81a6fff895469d298eaef434b / Ramin Gharib <[email protected]>
[FLINK-41301][table] Throw TableRuntimeException for every failed cast from 
VARIANT

The BOOLEAN reader of FromVariantConverter called Variant#getBoolean, which 
throws a VariantTypeException with the getter's message, such as "Expected type 
BOOLEAN but got STRING". It now checks the kind and throws the unsupportedKind 
TableRuntimeException, like the other readers. The DATE reader already does 
this since FLINK-41281, and the binary readers since FLINK-40319.

A malformed variant, or one with a type this version does not know, still made 
a reader throw a VariantTypeException. FromVariantConverter#convert now wraps 
it in a TableRuntimeException and keeps it as the cause.

Generated-by: Claude Code 2.1.319 (Claude Opus 5.5)

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

With regards,
GitHub Actions via GitBox

Reply via email to