You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/03/16 11:38:00 UTC

[jira] [Updated] (FLINK-26681) Remove possbile semicolon in the end of SQL statemnt in HiveParser

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

ASF GitHub Bot updated FLINK-26681:
-----------------------------------
    Labels: pull-request-available  (was: )

> Remove possbile semicolon in the end of SQL statemnt in HiveParser
> ------------------------------------------------------------------
>
>                 Key: FLINK-26681
>                 URL: https://issues.apache.org/jira/browse/FLINK-26681
>             Project: Flink
>          Issue Type: Improvement
>          Components: Connectors / Hive
>    Affects Versions: 1.15.0
>            Reporter: luoyuxia
>            Priority: Critical
>              Labels: pull-request-available
>             Fix For: 1.15.0
>
>
> In [FLINK-25600|https://issues.apache.org/jira/browse/FLINK-25600], the sql client won't remove ';' at the end of command, so the sql statement will keep the semicolon. When using Hive dialect, it'll be passed to HiveParser and then throw the ParseException likeĀ 
> {code:java}
> org.apache.flink.table.planner.delegation.hive.copy.HiveASTParseException: line 1:28 cannot recognize input near  ';' '<EOF>' ..{code}
> So we need to remove the semicolon in HiveParser to fix the issue.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)