snuyanzin commented on PR #28688:
URL: https://github.com/apache/flink/pull/28688#issuecomment-5093390167
Also this query is still failing (with empty path)
```sql
SELECT json_length('{}', '');
```
as
```
Caused by: java.lang.IllegalArgumentException: path can not be null or empty
at
org.apache.flink.shaded.com.jayway.jsonpath.internal.Utils.notEmpty(Utils.java:401)
at
org.apache.flink.shaded.com.jayway.jsonpath.internal.JsonContext.read(JsonContext.java:76)
at
org.apache.flink.table.runtime.functions.SqlJsonUtils.pathExists(SqlJsonUtils.java:453)
at
org.apache.flink.table.runtime.functions.SqlJsonUtils.jsonLength(SqlJsonUtils.java:410)
at StreamExecCalc$5.processElement(Unknown Source)
at
org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.pushToOperator(CopyingChainingOutput.java:75)
at
org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.collect(CopyingChainingOutput.java:50)
at
org.apache.flink.streaming.runtime.tasks.CopyingChainingOutput.collect(CopyingChainingOutput.java:29)
at
org.apache.flink.streaming.api.operators.StreamSourceContexts$ManualWatermarkContext.processAndCollect(StreamSourceContexts.java:389)
at
org.apache.flink.streaming.api.operators.StreamSourceContexts$WatermarkContext.collect(StreamSourceContexts.java:484)
at
org.apache.flink.streaming.api.operators.StreamSourceContexts$SwitchingOnClose.collect(StreamSourceContexts.java:74)
at
org.apache.flink.streaming.api.functions.source.legacy.InputFormatSourceFunction.run(InputFormatSourceFunction.java:98)
at
org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:107)
at
org.apache.flink.streaming.api.operators.StreamSource.run(StreamSource.java:68)
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]