You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Jing Zhang (Jira)" <ji...@apache.org> on 2022/04/12 09:44:00 UTC

[jira] [Assigned] (FLINK-26681) Support sql statement end with ";" for Hive dialect

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

Jing Zhang reassigned FLINK-26681:
----------------------------------

    Assignee: luoyuxia

> Support sql statement end with ";" for Hive dialect
> ---------------------------------------------------
>
>                 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
>            Assignee: luoyuxia
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.0
>
>
> In 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 support thesql statement end with ";" for Hive dialect. 



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