[
https://issues.apache.org/jira/browse/FLINK-26681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
luoyuxia updated FLINK-26681:
-----------------------------
Summary: Support sql statement end with ";" for Hive dialect (was: Remove
possbile semicolon in the end of SQL statemnt in HiveParser)
> 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
> 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)