Pajaraja commented on code in PR #53428:
URL: https://github.com/apache/spark/pull/53428#discussion_r2610084627


##########
sql/core/src/test/resources/sql-tests/analyzer-results/cte-recursion.sql.out:
##########
@@ -1936,6 +1936,16 @@ org.apache.spark.SparkException
 }
 
 
+-- !query
+WITH RECURSIVE t1(n, stamp) AS (
+    SELECT 1, CAST(DATE '2024-01-15' AS TIMESTAMP)
+    UNION ALL
+    SELECT n+1, stamp FROM t1 WHERE n < 5)
+SELECT * FROM t1
+-- !query analysis
+[Analyzer test output redacted due to nondeterminism]

Review Comment:
   It was nondeterministic because the original relation was Date. I changed 
into string now.
   It's deterministic now.



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