[
https://issues.apache.org/jira/browse/BEAM-11747?focusedWorklogId=558300&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-558300
]
ASF GitHub Bot logged work on BEAM-11747:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 25/Feb/21 23:45
Start Date: 25/Feb/21 23:45
Worklog Time Spent: 10m
Work Description: ibzib commented on a change in pull request #14015:
URL: https://github.com/apache/beam/pull/14015#discussion_r582248488
##########
File path:
sdks/java/extensions/sql/zetasql/src/main/java/org/apache/beam/sdk/extensions/sql/zetasql/ZetaSQLQueryPlanner.java
##########
@@ -141,11 +143,14 @@ public QueryPlanner createPlanner(
* group is equal to {@code SqlAnalyzer.USER_DEFINED_JAVA_SCALAR_FUNCTIONS}
*/
static boolean hasOnlyJavaUdfInProjects(RelOptRuleCall x) {
+ HashSet<Integer> udfs = new HashSet<>();
Review comment:
This should be scoped inside `for (RelNode relNode : resList)`.
Does anyone know if it's even possible for `x` to contain multiple rels?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 558300)
Time Spent: 11h 40m (was: 11.5h)
> Reject the mixed Java UDF and ZetaSQL builtin operators cases
> --------------------------------------------------------------
>
> Key: BEAM-11747
> URL: https://issues.apache.org/jira/browse/BEAM-11747
> Project: Beam
> Issue Type: Sub-task
> Components: dsl-sql-zetasql
> Reporter: Rui Wang
> Assignee: Rui Wang
> Priority: P2
> Time Spent: 11h 40m
> Remaining Estimate: 0h
>
> Before we have Calc splitting implemented, we can reject the mixed Java UDF
> and ZetaSQL builtin operators cases to maintain the correctness of a query.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)