vldpyatkov opened a new pull request, #5370:
URL: https://github.com/apache/calcite/pull/5370

   ## Jira Link
   [CALCITE-7815](https://issues.apache.org/jira/browse/CALCITE-7815)
   ## Changes Proposed
   Adds support for SEARCH DEPTH FIRST BY ... SET ... and SEARCH BREADTH FIRST 
BY ... SET ... in recursive CTEs. The generated column can be used in ORDER BY 
to obtain the corresponding traversal order.
   
   The clause is represented by SqlSearchClause on SqlWithItem. During 
validation, RecursiveWithRewriter builds an ARRAY<ROW<...>> path for 
depth-first ordering or a row containing depth and keys for breadth-first 
ordering. SEARCH can be combined with CYCLE.
   
   Also updates enumerable comparators to handle composite keys in multi-column 
sorts and adds Java and iq tests.


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