phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From an...@apache.org
Subject phoenix git commit: PHOENIX-4588 Clone expression also if it's children have Determinism.PER_INVOCATION
Date Fri, 09 Feb 2018 06:17:51 GMT
Repository: phoenix
Updated Branches:
  refs/heads/4.x-HBase-0.98 63fa82e63 -> d2801ef98


PHOENIX-4588 Clone expression also if it's children have Determinism.PER_INVOCATION


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

Branch: refs/heads/4.x-HBase-0.98
Commit: d2801ef98cf9a20d13f03ac9faad7968b1597f54
Parents: 63fa82e
Author: Ankit Singhal <ankitsinghal59@gmail.com>
Authored: Fri Feb 9 11:47:39 2018 +0530
Committer: Ankit Singhal <ankitsinghal59@gmail.com>
Committed: Fri Feb 9 11:47:39 2018 +0530

----------------------------------------------------------------------
 .../org/apache/phoenix/expression/BaseSingleExpression.java     | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/phoenix/blob/d2801ef9/phoenix-core/src/main/java/org/apache/phoenix/expression/BaseSingleExpression.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/main/java/org/apache/phoenix/expression/BaseSingleExpression.java
b/phoenix-core/src/main/java/org/apache/phoenix/expression/BaseSingleExpression.java
index c0e2fea..fbe8040 100644
--- a/phoenix-core/src/main/java/org/apache/phoenix/expression/BaseSingleExpression.java
+++ b/phoenix-core/src/main/java/org/apache/phoenix/expression/BaseSingleExpression.java
@@ -113,4 +113,9 @@ public abstract class BaseSingleExpression extends BaseExpression {
     public boolean requiresFinalEvaluation() {
         return children.get(0).requiresFinalEvaluation();
     }
+
+    @Override
+    public Determinism getDeterminism() {
+        return children.get(0).getDeterminism();
+    }
 }


Mime
View raw message