korlov42 commented on a change in pull request #2623:
URL: https://github.com/apache/calcite/pull/2623#discussion_r826737299
##########
File path:
core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableProject.java
##########
@@ -80,7 +84,9 @@ public static EnumerableProject create(final RelNode input,
}
@Override public EnumerableProject copy(RelTraitSet traitSet, RelNode input,
- List<RexNode> projects, RelDataType rowType) {
+ List<RexNode> projects, RelDataType rowType, Set<CorrelationId>
variablesSet) {
+ Preconditions.checkArgument(variablesSet.isEmpty(),
+ "Correlated scalar subqueries is not supported");
Review comment:
done
##########
File path:
core/src/main/java/org/apache/calcite/adapter/enumerable/EnumerableRelFactories.java
##########
@@ -68,7 +70,10 @@
implements org.apache.calcite.rel.core.RelFactories.ProjectFactory {
@Override public RelNode createProject(RelNode input, List<RelHint> hints,
List<? extends RexNode> childExprs,
- @Nullable List<? extends @Nullable String> fieldNames) {
+ @Nullable List<? extends @Nullable String> fieldNames,
+ Set<CorrelationId> variablesSet) {
+ Preconditions.checkArgument(variablesSet.isEmpty(),
+ "Correlated scalar subqueries is not supported");
Review comment:
done
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]