AngersZhuuuu commented on code in PR #53333:
URL: https://github.com/apache/spark/pull/53333#discussion_r2617872512
##########
sql/core/src/test/resources/sql-tests/results/cte-recursion.sql.out:
##########
@@ -341,68 +341,16 @@ WITH RECURSIVE t(n) MAX RECURSION LEVEL 100 AS (
)
SELECT * FROM t LIMIT ALL
-- !query schema
-struct<n:int>
+struct<>
-- !query output
-1
-10
-11
-12
-13
-14
-15
-16
-17
-18
-19
-2
-20
-21
-22
-23
-24
-25
-26
-27
-28
-29
-3
-30
-31
-32
-33
-34
-35
-36
-37
-38
-39
-4
-40
-41
-42
-43
-44
-45
-46
-47
-48
-49
-5
-50
-51
-52
-53
-54
-55
-56
-57
-58
-59
-6
-60
-7
-8
-9
+org.apache.spark.SparkException
+{
+ "errorClass" : "RECURSION_ROW_LIMIT_EXCEEDED",
Review Comment:
Therefore, cases where RECURSION is used need to be excluded.
--
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]