zstan commented on a change in pull request #8472:
URL: https://github.com/apache/ignite/pull/8472#discussion_r527473934
##########
File path:
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/trait/TraitUtils.java
##########
@@ -207,6 +230,18 @@ public static RewindabilityTrait rewindability(RelTraitSet
traits) {
return traits.getTrait(RewindabilityTraitDef.INSTANCE);
}
+ /** */
+ public static CorrelationTrait correlation(RelNode rel) {
+ return rel instanceof IgniteRel
Review comment:
looks like : ((IgniteRel)rel).correlation() and
correlation(rel.getTraitSet()) are the same.
----------------------------------------------------------------
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]