calcite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jh...@apache.org
Subject calcite git commit: [CALCITE-1170] Allow SqlSetOperator to be overridden, as a regular SqlOperator can (Hsuan-Yi Chu)
Date Mon, 28 Mar 2016 03:58:04 GMT
Repository: calcite
Updated Branches:
  refs/heads/master 0b855b180 -> 3ba595a17


[CALCITE-1170] Allow SqlSetOperator to be overridden, as a regular SqlOperator can (Hsuan-Yi
Chu)

Close apache/calcite#215


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

Branch: refs/heads/master
Commit: 3ba595a17832875ffef7ce9c0e374e19b996b53a
Parents: 0b855b1
Author: Hsuan-Yi Chu <hsuanyi@usc.edu>
Authored: Thu Mar 24 23:57:06 2016 -0700
Committer: Julian Hyde <jhyde@apache.org>
Committed: Sun Mar 27 20:21:00 2016 -0700

----------------------------------------------------------------------
 .../main/java/org/apache/calcite/sql/validate/SetopNamespace.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite/blob/3ba595a1/core/src/main/java/org/apache/calcite/sql/validate/SetopNamespace.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/calcite/sql/validate/SetopNamespace.java b/core/src/main/java/org/apache/calcite/sql/validate/SetopNamespace.java
index 21a6ec8..c2ec583 100644
--- a/core/src/main/java/org/apache/calcite/sql/validate/SetopNamespace.java
+++ b/core/src/main/java/org/apache/calcite/sql/validate/SetopNamespace.java
@@ -102,7 +102,7 @@ public class SetopNamespace extends AbstractNamespace {
         }
         validator.validateQuery(operand, scope);
       }
-      return call.getOperator().validateOperands(
+      return call.getOperator().deriveType(
           validator,
           scope,
           call);


Mime
View raw message