Airblader commented on a change in pull request #16858:
URL: https://github.com/apache/flink/pull/16858#discussion_r702726469
##########
File path: docs/data/sql_functions.yml
##########
@@ -667,6 +666,46 @@ json:
JSON_VALUE('{"a": true}', 'strict $.b'
DEFAULT FALSE ON ERROR)
```
+ - sql: JSON_QUERY(jsonValue, path [ { WITHOUT | WITH CONDITIONAL | WITH
UNCONDITIONAL } [ ARRAY ] WRAPPER ] [ { NULL | EMPTY ARRAY | EMPTY OBJECT |
ERROR } ON EMPTY ] [ { NULL | EMPTY ARRAY | EMPTY OBJECT | ERROR } ON ERROR ])
+ table: STRING.jsonQuery(path [, JsonQueryWrapper [,
JsonQueryOnEmptyOrError, JsonQueryOnEmptyOrError ] ])
+ description: |
+ Extracts JSON values from a JSON string.
+
+ The result is always returned as a `STRING`. The `RETURNING` clause is
currently not supported.
Review comment:
Yes, Calcite simply doesn't seem to support that.
--
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]