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 10:05:00 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=17521055#comment-17521055 ] 

Jing Zhang edited comment on FLINK-26681 at 4/12/22 10:04 AM:
--------------------------------------------------------------

[~luoyuxia] [~jark] The bug is new introduced in release-1.15, it's better to be fixed in 1.15.0.

I'm sorry to merge it late.

Maybe I should add a comment in [VOTE release 1.15.0 maillist|https://lists.apache.org/thread/1fsxq4b9t0c5mb25j4zyov1bm27fc8d5]?

WDYT? [~jark]


was (Author: qingru zhang):
I'm sorry to merge it late.

> Support sql statement end with ";" for Hive dialect
> ---------------------------------------------------
>
>                 Key: FLINK-26681
>                 URL: https://issues.apache.org/jira/browse/FLINK-26681
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / Hive
>    Affects Versions: 1.15.0
>            Reporter: luoyuxia
>            Assignee: luoyuxia
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.15.1
>
>
> 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)