You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Mithun Radhakrishnan (JIRA)" <ji...@apache.org> on 2017/09/06 23:26:00 UTC

[jira] [Created] (HIVE-17472) Drop-partition for multi-level partition fails, if data does not exist.

Mithun Radhakrishnan created HIVE-17472:
-------------------------------------------

             Summary: Drop-partition for multi-level partition fails, if data does not exist.
                 Key: HIVE-17472
                 URL: https://issues.apache.org/jira/browse/HIVE-17472
             Project: Hive
          Issue Type: Bug
          Components: Metastore
            Reporter: Mithun Radhakrishnan
            Assignee: Chris Drome


Raising this on behalf of [~cdrome] and [~selinazh]. 

Here's how to reproduce the problem:

{code:sql}
CREATE TABLE foobar ( foo STRING, bar STRING ) PARTITIONED BY ( dt STRING, region STRING ) STORED AS RCFILE LOCATION '/tmp/foobar';

ALTER TABLE foobar ADD PARTITION ( dt='1', region='A' ) ;

dfs -rm -R -skipTrash /tmp/foobar/dt=1;

ALTER TABLE foobar DROP PARTITION ( dt='1' );
{code}

This causes a client-side error as follows:
{code}
15/02/26 23:08:32 ERROR exec.DDLTask: org.apache.hadoop.hive.ql.metadata.HiveException: Unknown error. Please check logs.
{code}





--
This message was sent by Atlassian JIRA
(v6.4.14#64029)