The GitHub Actions job "Flink CI (beta)" on flink.git/release-2.4 has failed.
Run started by GitHub user raminqaf (triggered by raminqaf).

Head commit for run:
eade070159b27f028e58492dde2246438b1fa638 / Ramin Gharib <[email protected]>
[BP-2.4][FLINK-41087][table] Don't build the `PARSE_JSON` error for rows 
`TRY_PARSE_JSON` rejects (#29616)

PARSE_JSON and TRY_PARSE_JSON share one generated parse per input. The shared 
parse called SqlJsonUtils#parseJsonToVariant, which scanned the input for 
invalid UTF-8, formatted it into a message and created a TableRuntimeException 
on every failure. TRY_PARSE_JSON then dropped that exception and returned NULL, 
so every row it rejected paid for a second exception with its stack trace and a 
copy of the input.

parseJsonToVariant now lets the parser's exception through. The new 
SqlJsonUtils#parseJsonError builds the TableRuntimeException with the UTF-8 
diagnostics, and only a PARSE_JSON call site calls it. Error messages and 
results do not change.

Generated-by: Claude Code 2.1.309 (Claude Opus 5.5)
(cherry picked from commit 34c36e6371467181bd0a130b760b5fd681d608dc)

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

With regards,
GitHub Actions via GitBox

Reply via email to