This is an automated email from the ASF dual-hosted git repository.
gurwls223 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/master by this push:
new 6e7c45f3ec8b [SQL][MINOR] Fix error desription for
RECURSION_LEVEL_LIMIT_EXCEEDED
6e7c45f3ec8b is described below
commit 6e7c45f3ec8b87966c4e27ae780895ae3ad21384
Author: pavle-martinovic_data <[email protected]>
AuthorDate: Tue May 20 10:03:07 2025 +0900
[SQL][MINOR] Fix error desription for RECURSION_LEVEL_LIMIT_EXCEEDED
### What changes were proposed in this pull request?
Fix error message in for RECURSION_LEVEL_LIMIT_EXCEEDED. To suggest
changing MAX RECURSION LEVEL instead of MAX RECURSION DEPTH (which was
incorrectly claimed before.)
### Why are the changes needed?
The error message is incorrect currently.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Manual test to see whether error message is correct.
### Was this patch authored or co-authored using generative AI tooling?
No.
Closes #50941 from Pajaraja/pavle-martinovic_data/errorTypoDepthVsLevel.
Authored-by: pavle-martinovic_data <[email protected]>
Signed-off-by: Hyukjin Kwon <[email protected]>
---
common/utils/src/main/resources/error/error-conditions.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/utils/src/main/resources/error/error-conditions.json
b/common/utils/src/main/resources/error/error-conditions.json
index b34855be9ca2..9c7425a8a5cb 100644
--- a/common/utils/src/main/resources/error/error-conditions.json
+++ b/common/utils/src/main/resources/error/error-conditions.json
@@ -4644,7 +4644,7 @@
},
"RECURSION_LEVEL_LIMIT_EXCEEDED" : {
"message" : [
- "Recursion level limit <levelLimit> reached but query has not exhausted,
try increasing it like 'WITH RECURSIVE t(col) MAX RECURSION DEPTH 200'."
+ "Recursion level limit <levelLimit> reached but query has not exhausted,
try increasing it like 'WITH RECURSIVE t(col) MAX RECURSION LEVEL 200'."
],
"sqlState" : "42836"
},
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]