davidradl commented on code in PR #28688:
URL: https://github.com/apache/flink/pull/28688#discussion_r3571221521
##########
flink-python/pyflink/table/expression.py:
##########
@@ -2257,6 +2257,23 @@ def json_unquote(self) -> 'Expression':
"""
return _unary_op("jsonUnquote")(self)
+ def json_length(self, path = None) -> 'Expression':
Review Comment:
It seems that many databases throw an error, I am curious why we are not
throwing an error. Also I see that there are best practises that we should
document like using `IF(string_column IS JSON,` to protect against non json and
avoid potential errors.
--
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]