Gustavo de Morais created FLINK-40268:
-----------------------------------------

             Summary: Add new JSON_TYPE built-in function
                 Key: FLINK-40268
                 URL: https://issues.apache.org/jira/browse/FLINK-40268
             Project: Flink
          Issue Type: New Feature
          Components: Table SQL / API
            Reporter: Gustavo de Morais
            Assignee: Gustavo de Morais


Add a new bult-in function JSON_TYPE(jsonValue) that returns a string value 
indicating the type of jsonValue. The possible results are OBJECT, ARRAY, 
STRING, INTEGER, LONG, FLOAT, DOUBLE, BOOLEAN and DATE, plus the string 'NULL' 
for the JSON null literal, which is distinct from a SQL NULL result. Also 
returns NULL if the input is NULL or is not valid JSON.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to