vldpyatkov commented on code in PR #13479:
URL: https://github.com/apache/ignite/pull/13479#discussion_r3926258026


##########
modules/calcite/src/main/java/org/apache/ignite/internal/processors/query/calcite/prepare/BaseQueryContext.java:
##########
@@ -312,6 +322,18 @@ public int[] partitions() {
         return null;
     }
 
+    /** Returns an identifier unique for the given recursive CTE within this 
planning context. */
+    public synchronized String recursiveCteStateId(RelOptTable table) {

Review Comment:
   Agreed. The identifiers are generated and consumed only during planning, so 
PlanningContext is a better owner. I moved the identity map and sequence there.



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