You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "YufeiLiu (Jira)" <ji...@apache.org> on 2020/03/13 07:30:00 UTC

[jira] [Issue Comment Deleted] (FLINK-16526) Fix exception when computed column expression references a keyword column name

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

YufeiLiu updated FLINK-16526:
-----------------------------
    Comment: was deleted

(was: [~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)