Tpt commented on code in PR #18254:
URL: https://github.com/apache/datafusion/pull/18254#discussion_r2463959495


##########
datafusion/sqllogictest/test_files/cte.slt:
##########
@@ -122,6 +110,22 @@ physical_plan
 08)----------RepartitionExec: partitioning=RoundRobinBatch(4), 
input_partitions=1
 09)------------WorkTableExec: name=nodes
 
+# trivial deduplicating recursive CTE works
+query I
+WITH RECURSIVE nodes AS (
+    SELECT 1 as id
+    UNION ALL

Review Comment:
   Thank you for spotting this! Your query is much better indeed. Added.



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to