twalthr commented on PR #26022:
URL: https://github.com/apache/flink/pull/26022#issuecomment-2618168026

   > why do we need a new function when we can already do this with 
json_object? Or am I missing something?
   
   @davidradl In many cases, JSON is generated by external systems and already 
exists in columns or nested fields. Many times this JSON needs to be wrapped 
into another JSON, for this the JSON_OBJECT function needs to know that a 
parameter is pre-formatted JSON. For this the SQL standard introduces a JSON 
data type and JSON function:
   see T802 
[here](https://peter.eisentraut.org/blog/2023/04/04/sql-2023-is-finished-here-is-whats-new)


-- 
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