hive git commit: HIVE-17381: When we enable Parquet Writer Version V2, hive throws an exception: Unsupported encoding: DELTA_BYTE_ARRAY. (Colin Ma, reviewed by Ferdinand Xu)
Repository: hive Updated Branches: refs/heads/master 0d0fa42c0 -> 601c76491 HIVE-17381: When we enable Parquet Writer Version V2, hive throws an exception: Unsupported encoding: DELTA_BYTE_ARRAY. (Colin Ma, reviewed by Ferdinand Xu) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/601c7649 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/601c7649 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/601c7649 Branch: refs/heads/master Commit: 601c764911b850da97aefdc0f83e8efc5627e8b8 Parents: 0d0fa42 Author: Ferdinand Xu Authored: Fri Sep 1 10:05:42 2017 +0800 Committer: Ferdinand Xu Committed: Fri Sep 1 10:05:42 2017 +0800 -- .../ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java | 3 --- 1 file changed, 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hive/blob/601c7649/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java -- diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java b/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java index 3d5c6e6..e9543c6 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java @@ -482,9 +482,6 @@ public class VectorizedPrimitiveColumnReader implements VectorizedColumnReader { dataColumn = dataEncoding.getDictionaryBasedValuesReader(descriptor, VALUES, dictionary); this.isCurrentPageDictionaryEncoded = true; } else { - if (dataEncoding != Encoding.PLAIN) { -throw new UnsupportedOperationException("Unsupported encoding: " + dataEncoding); - } dataColumn = dataEncoding.getValuesReader(descriptor, VALUES); this.isCurrentPageDictionaryEncoded = false; }
hive git commit: HIVE-17381 : When we enable Parquet Writer Version V2, hive throws an exception: Unsupported encoding: DELTA_BYTE_ARRAY (Colin Ma, reviewed by Ferdinand Xu)
Repository: hive Updated Branches: refs/heads/branch-2 a2e608317 -> 64e91e706 HIVE-17381 : When we enable Parquet Writer Version V2, hive throws an exception: Unsupported encoding: DELTA_BYTE_ARRAY (Colin Ma, reviewed by Ferdinand Xu) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/64e91e70 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/64e91e70 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/64e91e70 Branch: refs/heads/branch-2 Commit: 64e91e7069d86ac4dc1f6664fc80f7f675699ac2 Parents: a2e6083 Author: Vihang Karajgaonkar Authored: Mon Oct 30 11:02:24 2017 -0700 Committer: Vihang Karajgaonkar Committed: Mon Oct 30 11:08:26 2017 -0700 -- .../ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java | 3 --- 1 file changed, 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hive/blob/64e91e70/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java -- diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java b/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java index 3d5c6e6..e9543c6 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java @@ -482,9 +482,6 @@ public class VectorizedPrimitiveColumnReader implements VectorizedColumnReader { dataColumn = dataEncoding.getDictionaryBasedValuesReader(descriptor, VALUES, dictionary); this.isCurrentPageDictionaryEncoded = true; } else { - if (dataEncoding != Encoding.PLAIN) { -throw new UnsupportedOperationException("Unsupported encoding: " + dataEncoding); - } dataColumn = dataEncoding.getValuesReader(descriptor, VALUES); this.isCurrentPageDictionaryEncoded = false; }
[34/50] [abbrv] hive git commit: HIVE-17381: When we enable Parquet Writer Version V2, hive throws an exception: Unsupported encoding: DELTA_BYTE_ARRAY. (Colin Ma, reviewed by Ferdinand Xu)
HIVE-17381: When we enable Parquet Writer Version V2, hive throws an exception: Unsupported encoding: DELTA_BYTE_ARRAY. (Colin Ma, reviewed by Ferdinand Xu) Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/601c7649 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/601c7649 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/601c7649 Branch: refs/heads/hive-14535 Commit: 601c764911b850da97aefdc0f83e8efc5627e8b8 Parents: 0d0fa42 Author: Ferdinand Xu Authored: Fri Sep 1 10:05:42 2017 +0800 Committer: Ferdinand Xu Committed: Fri Sep 1 10:05:42 2017 +0800 -- .../ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java | 3 --- 1 file changed, 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hive/blob/601c7649/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java -- diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java b/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java index 3d5c6e6..e9543c6 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/io/parquet/vector/VectorizedPrimitiveColumnReader.java @@ -482,9 +482,6 @@ public class VectorizedPrimitiveColumnReader implements VectorizedColumnReader { dataColumn = dataEncoding.getDictionaryBasedValuesReader(descriptor, VALUES, dictionary); this.isCurrentPageDictionaryEncoded = true; } else { - if (dataEncoding != Encoding.PLAIN) { -throw new UnsupportedOperationException("Unsupported encoding: " + dataEncoding); - } dataColumn = dataEncoding.getValuesReader(descriptor, VALUES); this.isCurrentPageDictionaryEncoded = false; }