You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Nicholas Jiang (Jira)" <ji...@apache.org> on 2021/06/15 12:47:00 UTC

[jira] [Issue Comment Deleted] (FLINK-22998) Flink SQL does not support block comment before SET command

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

Nicholas Jiang updated FLINK-22998:
-----------------------------------
    Comment: was deleted

(was: [~airblader], [~pensz], IMO, if the 'EXTENDED_PARSER' couldn't parse the statement,  this should use the 'CalciteParser' to parse this statement, which could support more statement.)

> Flink SQL does not support block comment before SET command
> -----------------------------------------------------------
>
>                 Key: FLINK-22998
>                 URL: https://issues.apache.org/jira/browse/FLINK-22998
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Planner
>    Affects Versions: 1.14.0
>            Reporter: Zhiwen Sun
>            Priority: Major
>
> Flink SQL does not support block comment before SET command.
> A tiny SQL that produces the bug:
>  
> {code:java}
> /**
>  comment
> **/
> SET sql-client.execution.result-mode=TABLEAU;
> SELECT 'hello';{code}
>  
> while following SQL works fine:
>  
> {code:java}
> SET sql-client.execution.result-mode=TABLEAU;
> /**
>  comment
> **/
> SELECT 'hello';{code}
>  
>  
> After I debug Flink source code, I found that EXTENDED_PARSER does not support block comment.
>  
>  



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