Hive
  1. Hive
  2. HIVE-3063

drop partition for non-string columns is failing

    Details

      Activity

      Show
      Namit Jain added a comment - https://reviews.facebook.net/D3459
      Hide
      Kevin Wilfong added a comment -

      +1 Glad we can still support dropping partitions using filters, even if it is just string partition columns.

      Running tests.

      Show
      Kevin Wilfong added a comment - +1 Glad we can still support dropping partitions using filters, even if it is just string partition columns. Running tests.
      Hide
      Kevin Wilfong added a comment -

      Committed, thanks Namit.

      Show
      Kevin Wilfong added a comment - Committed, thanks Namit.
      Hide
      Hudson added a comment -

      Integrated in Hive-trunk-h0.21 #1459 (See https://builds.apache.org/job/Hive-trunk-h0.21/1459/)
      HIVE-3063. drop partition for non-string columns is failing (njain via kevinwilfong) (Revision 1344801)

      Result = FAILURE
      kevinwilfong : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1344801
      Files :

      • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java
      • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
      • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
      • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/DropTableDesc.java
      • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/PartitionSpec.java
      • /hive/trunk/ql/src/test/queries/clientnegative/drop_partition_filter_failure2.q
      • /hive/trunk/ql/src/test/queries/clientpositive/drop_partitions_filter2.q
      • /hive/trunk/ql/src/test/results/clientnegative/drop_partition_filter_failure2.q.out
      • /hive/trunk/ql/src/test/results/clientpositive/drop_partitions_filter2.q.out
      Show
      Hudson added a comment - Integrated in Hive-trunk-h0.21 #1459 (See https://builds.apache.org/job/Hive-trunk-h0.21/1459/ ) HIVE-3063 . drop partition for non-string columns is failing (njain via kevinwilfong) (Revision 1344801) Result = FAILURE kevinwilfong : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1344801 Files : /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/DropTableDesc.java /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/PartitionSpec.java /hive/trunk/ql/src/test/queries/clientnegative/drop_partition_filter_failure2.q /hive/trunk/ql/src/test/queries/clientpositive/drop_partitions_filter2.q /hive/trunk/ql/src/test/results/clientnegative/drop_partition_filter_failure2.q.out /hive/trunk/ql/src/test/results/clientpositive/drop_partitions_filter2.q.out
      Hide
      Francis Liu added a comment -

      Hi can we backport this to 0.9? As this is a major issue affecting both hive and hcatalog.

      Show
      Francis Liu added a comment - Hi can we backport this to 0.9? As this is a major issue affecting both hive and hcatalog.
      Hide
      Alan Gates added a comment -

      +1, I'd like to see this backported to 0.9 as well.

      Show
      Alan Gates added a comment - +1, I'd like to see this backported to 0.9 as well.
      Hide
      Ashutosh Chauhan added a comment -

      Backported to 0.9-branch as well.

      Show
      Ashutosh Chauhan added a comment - Backported to 0.9-branch as well.
      Hide
      Hudson added a comment -

      Integrated in Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false #60 (See https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/60/)
      HIVE-3063. Merged-in from trunk. (Revision 1354154)

      Result = FAILURE
      hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1354154
      Files :

      • /hive/branches/branch-0.9
      • /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
      • /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
      • /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/parse/ErrorMsg.java
      • /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/plan/DropTableDesc.java
      • /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/plan/PartitionSpec.java
      • /hive/branches/branch-0.9/ql/src/test/queries/clientnegative/drop_partition_filter_failure2.q
      • /hive/branches/branch-0.9/ql/src/test/queries/clientpositive/drop_partitions_filter2.q
      • /hive/branches/branch-0.9/ql/src/test/results/clientnegative/drop_partition_filter_failure2.q.out
      • /hive/branches/branch-0.9/ql/src/test/results/clientpositive/drop_partitions_filter2.q.out
      Show
      Hudson added a comment - Integrated in Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false #60 (See https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21-keepgoing=false/60/ ) HIVE-3063 . Merged-in from trunk. (Revision 1354154) Result = FAILURE hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1354154 Files : /hive/branches/branch-0.9 /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/parse/ErrorMsg.java /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/plan/DropTableDesc.java /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/plan/PartitionSpec.java /hive/branches/branch-0.9/ql/src/test/queries/clientnegative/drop_partition_filter_failure2.q /hive/branches/branch-0.9/ql/src/test/queries/clientpositive/drop_partitions_filter2.q /hive/branches/branch-0.9/ql/src/test/results/clientnegative/drop_partition_filter_failure2.q.out /hive/branches/branch-0.9/ql/src/test/results/clientpositive/drop_partitions_filter2.q.out
      Hide
      Hudson added a comment -

      Integrated in Hive-0.9.1-SNAPSHOT-h0.21 #60 (See https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21/60/)
      HIVE-3063. Merged-in from trunk. (Revision 1354154)

      Result = FAILURE
      hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1354154
      Files :

      • /hive/branches/branch-0.9
      • /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
      • /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
      • /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/parse/ErrorMsg.java
      • /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/plan/DropTableDesc.java
      • /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/plan/PartitionSpec.java
      • /hive/branches/branch-0.9/ql/src/test/queries/clientnegative/drop_partition_filter_failure2.q
      • /hive/branches/branch-0.9/ql/src/test/queries/clientpositive/drop_partitions_filter2.q
      • /hive/branches/branch-0.9/ql/src/test/results/clientnegative/drop_partition_filter_failure2.q.out
      • /hive/branches/branch-0.9/ql/src/test/results/clientpositive/drop_partitions_filter2.q.out
      Show
      Hudson added a comment - Integrated in Hive-0.9.1-SNAPSHOT-h0.21 #60 (See https://builds.apache.org/job/Hive-0.9.1-SNAPSHOT-h0.21/60/ ) HIVE-3063 . Merged-in from trunk. (Revision 1354154) Result = FAILURE hashutosh : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1354154 Files : /hive/branches/branch-0.9 /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/parse/ErrorMsg.java /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/plan/DropTableDesc.java /hive/branches/branch-0.9/ql/src/java/org/apache/hadoop/hive/ql/plan/PartitionSpec.java /hive/branches/branch-0.9/ql/src/test/queries/clientnegative/drop_partition_filter_failure2.q /hive/branches/branch-0.9/ql/src/test/queries/clientpositive/drop_partitions_filter2.q /hive/branches/branch-0.9/ql/src/test/results/clientnegative/drop_partition_filter_failure2.q.out /hive/branches/branch-0.9/ql/src/test/results/clientpositive/drop_partitions_filter2.q.out
      Hide
      Alan Gates added a comment -

      Copy of the patch checked into branch 9 for reference.

      Show
      Alan Gates added a comment - Copy of the patch checked into branch 9 for reference.
      Hide
      Hudson added a comment -

      Integrated in Hive-trunk-hadoop2 #54 (See https://builds.apache.org/job/Hive-trunk-hadoop2/54/)
      HIVE-3063. drop partition for non-string columns is failing (njain via kevinwilfong) (Revision 1344801)

      Result = ABORTED
      kevinwilfong : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1344801
      Files :

      • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java
      • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java
      • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java
      • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/DropTableDesc.java
      • /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/PartitionSpec.java
      • /hive/trunk/ql/src/test/queries/clientnegative/drop_partition_filter_failure2.q
      • /hive/trunk/ql/src/test/queries/clientpositive/drop_partitions_filter2.q
      • /hive/trunk/ql/src/test/results/clientnegative/drop_partition_filter_failure2.q.out
      • /hive/trunk/ql/src/test/results/clientpositive/drop_partitions_filter2.q.out
      Show
      Hudson added a comment - Integrated in Hive-trunk-hadoop2 #54 (See https://builds.apache.org/job/Hive-trunk-hadoop2/54/ ) HIVE-3063 . drop partition for non-string columns is failing (njain via kevinwilfong) (Revision 1344801) Result = ABORTED kevinwilfong : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1344801 Files : /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/DropTableDesc.java /hive/trunk/ql/src/java/org/apache/hadoop/hive/ql/plan/PartitionSpec.java /hive/trunk/ql/src/test/queries/clientnegative/drop_partition_filter_failure2.q /hive/trunk/ql/src/test/queries/clientpositive/drop_partitions_filter2.q /hive/trunk/ql/src/test/results/clientnegative/drop_partition_filter_failure2.q.out /hive/trunk/ql/src/test/results/clientpositive/drop_partitions_filter2.q.out
      Hide
      Ashutosh Chauhan added a comment -

      This issue is fixed and released as part of 0.10.0 release. If you find an issue which seems to be related to this one, please create a new jira and link this one with new jira.

      Show
      Ashutosh Chauhan added a comment - This issue is fixed and released as part of 0.10.0 release. If you find an issue which seems to be related to this one, please create a new jira and link this one with new jira.

        People

        • Assignee:
          Namit Jain
          Reporter:
          Namit Jain
        • Votes:
          0 Vote for this issue
          Watchers:
          7 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:

            Development