You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "BELUGA BEHR (JIRA)" <ji...@apache.org> on 2018/06/18 18:49:00 UTC
[jira] [Created] (HIVE-19933) ALTER TABLE DROP PARTITION -
Partition Not Found
BELUGA BEHR created HIVE-19933:
----------------------------------
Summary: ALTER TABLE DROP PARTITION - Partition Not Found
Key: HIVE-19933
URL: https://issues.apache.org/jira/browse/HIVE-19933
Project: Hive
Issue Type: Improvement
Components: HiveServer2
Affects Versions: 1.2.2
Reporter: BELUGA BEHR
{code:sql}
ALTER TABLE web_logsz DROP PARTITION (`date`='xyz')
-- SemanticException [Error 10001]: Table not found web_logsz
ALTER TABLE web_logs DROP PARTITION (`date`='xyz')
-- Success.
{code}
There is no 'xyz' partition for the 'date' column. To make this more consistent, the query should fail if the user tries to drop a partition that does not exist
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)