alex-plekhanov commented on a change in pull request #9601:
URL: https://github.com/apache/ignite/pull/9601#discussion_r756791054



##########
File path: 
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/trait/TraitUtils.java
##########
@@ -175,9 +175,15 @@ else if (converter == RewindabilityTraitDef.INSTANCE)
             return rel;
 
         RelTraitSet traits = rel.getTraitSet()
-            .replace(toTrait);
-
-        return new IgniteTableSpool(rel.getCluster(), traits, Spool.Type.LAZY, 
rel);
+            .replace(toTrait)
+            .replace(CorrelationTrait.UNCORRELATED);

Review comment:
       Correlation is never required by table spool itself, so it's better to 
remove trait




-- 
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]


Reply via email to