cloud-fan commented on code in PR #50717: URL: https://github.com/apache/spark/pull/50717#discussion_r2079208452
########## sql/core/src/test/resources/sql-tests/inputs/cte-recursion.sql: ########## @@ -544,4 +544,11 @@ WITH RECURSIVE t1 AS ( SELECT 1 AS n UNION ALL SELECT n+1 FROM t2 WHERE n < 5) -SELECT * FROM t1; \ No newline at end of file +SELECT * FROM t1; + +-- Recursive CTE with useless columns and filtering +WITH RECURSIVE t1(a,b,c) AS ( Review Comment: we should check the optimized plan -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org