dawidwys commented on PR #24704:
URL: https://github.com/apache/flink/pull/24704#issuecomment-2124728882

   > SELECT JSON_QUERY('{"a":[{"c":null},{"c":"c2"}]}', 'lax $.a[*].c' 
RETURNING ARRAY<STRING>);
   > SELECT JSON_QUERY('{"a":[{"c":null},{"c":"c2"}]}', 'lax $.a[*].c' 
RETURNING ARRAY<STRING> ERROR ON ERROR);
   
   Good catch on that. Just a comment:
   
   > SELECT JSON_QUERY('{"a":[{"c":null},{"c":"c2"}]}', 'lax $.a[*].c' 
RETURNING ARRAY<STRING>);
   
   The result for the above is not correct. It should be `null, c2`, fixing... 
   
   The error behaviour is generally correct. If a user says `ERROR ON ERROR` it 
may fail in runtime.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to