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 17:32:11 UTC
[4/4] 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/1efb4dad
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/1efb4dad
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/1efb4dad
Branch: refs/heads/branch-2.2
Commit: 1efb4dad2bd646e3356a289ff6c8ab03fc6c6263
Parents: 30d8adf
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 10:21:18 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/1efb4dad/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;