The GitHub Actions job "Docs 404 check (beta)" on 
flink.git/FLINK-41086-json-path-function-errors has failed.
Run started by GitHub user ykisana (triggered by ykisana).

Head commit for run:
e5ea148b716c54f5fe000516d916e130fefdb498 / ykisana <[email protected]>
[FLINK-41086][table] Return NULL from `JSON_LENGTH` and `JSON_TYPE` when a JSON 
path function fails

JSON_LENGTH(json, path) and JSON_TYPE(json, path) only caught
InvalidPathException around JsonPath#read. Path functions such as
min()/avg()/sum() throw JsonPathException on values they cannot handle,
e.g. an empty or non-numeric array. It escaped and failed the job
instead of returning NULL.

Catch JsonPathException, the parent of InvalidPathException and
PathNotFoundException. Other exceptions still surface.

Generated-by: Claude Opus 5.5

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

With regards,
GitHub Actions via GitBox

Reply via email to