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/31 16:49:59 UTC

[7/8] 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/cf175410
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/cf175410
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/cf175410

Branch: refs/heads/branch-2.2
Commit: cf175410a5e2e00c7ff549a9b95adecbeadaa1a4
Parents: 3f82447
Author: Owen O'Malley <om...@apache.org>
Authored: Fri May 26 08:46:18 2017 -0700
Committer: Owen O'Malley <om...@apache.org>
Committed: Wed May 31 09:41:32 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/cf175410/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;