beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From al...@apache.org
Subject [1/2] beam git commit: fix NoSuchFieldException
Date Mon, 22 May 2017 17:46:43 GMT
Repository: beam
Updated Branches:
  refs/heads/DSL_SQL 127790212 -> ed9764124


fix NoSuchFieldException


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

Branch: refs/heads/DSL_SQL
Commit: cf6689b56c18a36b4c3825b02b629b58061a43d0
Parents: 1277902
Author: unknown <冯飞>
Authored: Mon May 15 03:02:48 2017 +0100
Committer: Ahmet Altay <altay@google.com>
Committed: Mon May 22 10:46:23 2017 -0700

----------------------------------------------------------------------
 .../org/apache/beam/dsls/sql/interpreter/BeamSQLFnExecutor.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/cf6689b5/dsls/sql/src/main/java/org/apache/beam/dsls/sql/interpreter/BeamSQLFnExecutor.java
----------------------------------------------------------------------
diff --git a/dsls/sql/src/main/java/org/apache/beam/dsls/sql/interpreter/BeamSQLFnExecutor.java
b/dsls/sql/src/main/java/org/apache/beam/dsls/sql/interpreter/BeamSQLFnExecutor.java
index eb9fedf..be388aa 100644
--- a/dsls/sql/src/main/java/org/apache/beam/dsls/sql/interpreter/BeamSQLFnExecutor.java
+++ b/dsls/sql/src/main/java/org/apache/beam/dsls/sql/interpreter/BeamSQLFnExecutor.java
@@ -108,7 +108,7 @@ public class BeamSQLFnExecutor implements BeamSQLExpressionExecutor {
       RexCall node = (RexCall) rexNode;
       String opName = node.op.getName();
       List<BeamSqlExpression> subExps = new ArrayList<>();
-      for (RexNode subNode : node.operands) {
+      for (RexNode subNode : node.getOperands()) {
         subExps.add(buildExpression(subNode));
       }
       switch (opName) {


Mime
View raw message