[ 
https://issues.apache.org/jira/browse/FLINK-16526?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17056608#comment-17056608
 ] 

Danny Chen commented on FLINK-16526:
------------------------------------

Thanks, [~liuyufei], you should try

{code:sql}
`timestamp`   AS json_row['timestamp']
{code}

instead.


> Escape character doesn't work for computed column
> -------------------------------------------------
>
>                 Key: FLINK-16526
>                 URL: https://issues.apache.org/jira/browse/FLINK-16526
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / API
>    Affects Versions: 1.10.0
>            Reporter: YufeiLiu
>            Priority: Major
>
> {code:sql}
> json_row          ROW<`timestamp` BIGINT>,
> `timestamp`   AS `json_row`.`timestamp`
> {code}
> It translate to "SELECT json_row.timestamp FROM __temp_table__"
> Throws exception "Encountered ". timestamp" at line 1, column 157. Was 
> expecting one of:..."



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to