HIVE-19312 : MM tables don't work with BucketizedHIF (Sergey Shelukhin, reviewed by Gunther Hagleitner) ADDENDUM
Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/33b283ca Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/33b283ca Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/33b283ca Branch: refs/heads/branch-3 Commit: 33b283ca086b05268da2edad1635f0fd1430f3eb Parents: a30a6ca Author: sergey <[email protected]> Authored: Tue May 8 16:56:08 2018 -0700 Committer: sergey <[email protected]> Committed: Tue Jun 5 12:17:04 2018 -0700 ---------------------------------------------------------------------- .../org/apache/hadoop/hive/ql/io/BucketizedHiveInputFormat.java | 1 - 1 file changed, 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/33b283ca/ql/src/java/org/apache/hadoop/hive/ql/io/BucketizedHiveInputFormat.java ---------------------------------------------------------------------- diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/BucketizedHiveInputFormat.java b/ql/src/java/org/apache/hadoop/hive/ql/io/BucketizedHiveInputFormat.java index 58f0480..75fa09d 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/io/BucketizedHiveInputFormat.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/io/BucketizedHiveInputFormat.java @@ -137,7 +137,6 @@ public class BucketizedHiveInputFormat<K extends WritableComparable, V extends W if (part.getTableDesc() != null) { // This can happen for truncate table case for non-MM tables. mmIds = getMmValidWriteIds(newjob, part.getTableDesc(), null); - throw new AssertionError(dir + ": " + part); } // TODO: should this also handle ACID operation, etc.? seems to miss a lot of stuff from HIF. Path[] finalDirs = (mmIds == null) ? new Path[] { dir }
