You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by dk...@apache.org on 2021/10/13 15:08:13 UTC
[hive] branch master updated: HIVE-25603: Restore original method
signature in VectorizedOrcAcidRowBatchReader.getDeleteDeltaDirsFromSplit
(Denys Kuzmenko, reviewed by Peter Vary)
This is an automated email from the ASF dual-hosted git repository.
dkuzmenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new 3cf119f HIVE-25603: Restore original method signature in VectorizedOrcAcidRowBatchReader.getDeleteDeltaDirsFromSplit (Denys Kuzmenko, reviewed by Peter Vary)
3cf119f is described below
commit 3cf119f3f73278864142a7cbabb7da3fbe0b4b50
Author: Denys Kuzmenko <dk...@cloudera.com>
AuthorDate: Wed Oct 13 18:07:01 2021 +0300
HIVE-25603: Restore original method signature in VectorizedOrcAcidRowBatchReader.getDeleteDeltaDirsFromSplit (Denys Kuzmenko, reviewed by Peter Vary)
Closes #2708
---
.../hadoop/hive/ql/io/orc/VectorizedOrcAcidRowBatchReader.java | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/VectorizedOrcAcidRowBatchReader.java b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/VectorizedOrcAcidRowBatchReader.java
index eed4f2b..2b70378 100644
--- a/ql/src/java/org/apache/hadoop/hive/ql/io/orc/VectorizedOrcAcidRowBatchReader.java
+++ b/ql/src/java/org/apache/hadoop/hive/ql/io/orc/VectorizedOrcAcidRowBatchReader.java
@@ -28,7 +28,6 @@ import org.apache.hadoop.fs.Path;
import org.apache.hadoop.hive.common.ValidReaderWriteIdList;
import org.apache.hadoop.hive.common.ValidWriteIdList;
import org.apache.hadoop.hive.common.io.CacheTag;
-import org.apache.hadoop.hive.conf.Constants;
import org.apache.hadoop.hive.conf.HiveConf;
import org.apache.hadoop.hive.conf.HiveConf.ConfVars;
import org.apache.hadoop.hive.llap.IllegalCacheConfigurationException;
@@ -858,8 +857,13 @@ public class VectorizedOrcAcidRowBatchReader
return false;
}
+ @Deprecated
+ static Path[] getDeleteDeltaDirsFromSplit(OrcSplit orcSplit) {
+ return getDeleteDeltaDirsFromSplit(orcSplit, null);
+ }
+
static Path[] getDeleteDeltaDirsFromSplit(OrcSplit orcSplit,
- Map<String, AcidInputFormat.DeltaMetaData> pathToDeltaMetaData) throws IOException {
+ Map<String, AcidInputFormat.DeltaMetaData> pathToDeltaMetaData) {
Path path = orcSplit.getPath();
Path root;
if (orcSplit.hasBase()) {
@@ -1378,7 +1382,7 @@ public class VectorizedOrcAcidRowBatchReader
/**
* see {@link BucketCodec}
*/
- private int bucketProperty;
+ private int bucketProperty;
private long rowId;
DeleteRecordKey() {
this.originalWriteId = -1;