[
https://issues.apache.org/jira/browse/FLINK-20917?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17262398#comment-17262398
]
Jark Wu commented on FLINK-20917:
---------------------------------
{{ALTER TABLE ... DROP PARTITION}} is not supported in Flink yet. This is a new
feature. See the docs:
https://ci.apache.org/projects/flink/flink-docs-master/dev/table/sql/alter.html#alter-table
> can not drop hive partition on flink
> ------------------------------------
>
> Key: FLINK-20917
> URL: https://issues.apache.org/jira/browse/FLINK-20917
> Project: Flink
> Issue Type: Bug
> Components: API / Core
> Affects Versions: 1.12.0
> Environment: hive versioin: 3.1.2
> flink version: 1.12.0
> Reporter: Spongebob
> Priority: Major
> Attachments: image-2021-01-11-10-37-22-445.png
>
>
> when I run this sql in flink "ALTER TABLE tablename DROP PARTITION
> (key='xxx')", flink throws an SqlParserException which says "SQL parse
> failed. Encountered "partition" at line 1, column 41."
--
This message was sent by Atlassian Jira
(v8.3.4#803005)