[ 
https://issues.apache.org/jira/browse/FLINK-37695?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sergey Nuyanzin reassigned FLINK-37695:
---------------------------------------

    Assignee: Gustavo de Morais

> Parsing for a JSON() function call fail to its position
> -------------------------------------------------------
>
>                 Key: FLINK-37695
>                 URL: https://issues.apache.org/jira/browse/FLINK-37695
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / API
>            Reporter: Gustavo de Morais
>            Assignee: Gustavo de Morais
>            Priority: Major
>              Labels: pull-request-available
>
> Parsing for a JSON() function call fail to its position if not in the first 
> param.
> {{SELECT JSON_OBJECT('key' VALUE JSON('{}'), 'key_2' VALUE JSON('{}'));}}
>  Outputs:
> {code:java}
> The JSON() function is currently only supported inside a JSON_OBJECT() or 
> JSON_ARRAY() function. Example: JSON_OBJECT('a', JSON('{\"key\": 
> \"value\"}')) or JSON_ARRAY(JSON('{\"key\": \"value\"}'))."
> This is incorrect, and we're stricly allowing json to be called only as the 
> second param in the function, when it should be allowed for every second.
>  {code}



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

Reply via email to