You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/11/25 11:06:56 UTC

[GitHub] [ignite] alex-plekhanov commented on a change in pull request #9601: IGNITE-15982 Fix correlation trait propagation for table spool

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: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org