You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by om...@apache.org on 2017/05/26 16:01:05 UTC

[3/3] hive git commit: HIVE-16549. Fix incompatible change in PredicateLeafImpl. A change in HIVE-15269 made the API incompatible and this fixes it.

HIVE-16549. Fix incompatible change in PredicateLeafImpl.
A change in HIVE-15269 made the API incompatible and this fixes it.


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/e2ecc92f
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/e2ecc92f
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/e2ecc92f

Branch: refs/heads/storage-branch-2.3
Commit: e2ecc92f9525a5f4a1c1b7b88ea35cfddaec8de7
Parents: 0c01e3d
Author: Owen O'Malley <om...@apache.org>
Authored: Fri May 26 08:46:18 2017 -0700
Committer: Owen O'Malley <om...@apache.org>
Committed: Fri May 26 08:56:50 2017 -0700

----------------------------------------------------------------------
 .../apache/hadoop/hive/ql/io/sarg/SearchArgumentImpl.java    | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/e2ecc92f/storage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchArgumentImpl.java
----------------------------------------------------------------------
diff --git a/storage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchArgumentImpl.java b/storage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchArgumentImpl.java
index db0a582..6d8c83b 100644
--- a/storage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchArgumentImpl.java
+++ b/storage-api/src/java/org/apache/hadoop/hive/ql/io/sarg/SearchArgumentImpl.java
@@ -59,6 +59,14 @@ public final class SearchArgumentImpl implements SearchArgument {
                              Type type,
                              String columnName,
                              Object literal,
+                             List<Object> literalList) {
+      this(operator, type, columnName, literal, literalList, null);
+    }
+
+    public PredicateLeafImpl(Operator operator,
+                             Type type,
+                             String columnName,
+                             Object literal,
                              List<Object> literalList, Configuration conf) {
       this.operator = operator;
       this.type = type;