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

YufeiLiu edited comment on FLINK-16526 at 3/13/20, 7:29 AM:
------------------------------------------------------------

[~jark] -Hi, I tried cherrypick to my branch, but UT 
{{testKeywordsWithWatermarkComputedColumn}} failed.
When schema like -

{code:sql}
 `time` time,
 mytime AS `time`
{code}
-Seems when "push computed column project", the origin field `time` isn't 
quoted.
Did I miss anything?-

I already found [FLINK-16068|https://issues.apache.org/jira/browse/FLINK-16068]


was (Author: liuyufei):
-[~jark] Hi, I tried cherrypick to my branch, but UT 
{{testKeywordsWithWatermarkComputedColumn}} failed.
When schema like -

{code:sql}
 `time` time,
 mytime AS `time`
{code}
-Seems when "push computed column project", the origin field `time` isn't 
quoted.
Did I miss anything?-

I already found [FLINK-16068|https://issues.apache.org/jira/browse/FLINK-16068]

> Fix exception when computed column expression references a keyword column name
> ------------------------------------------------------------------------------
>
>                 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
>            Assignee: Jark Wu
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 1.10.1, 1.11.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {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