cloud-fan commented on code in PR #41151:
URL: https://github.com/apache/spark/pull/41151#discussion_r1193569941


##########
docs/sql-ref-syntax-qry-select-limit.md:
##########
@@ -91,7 +91,21 @@ SELECT name, age FROM person ORDER BY name LIMIT 
length('SPARK');
 
 -- A non-foldable expression as an input to LIMIT is not allowed.
 SELECT name, age FROM person ORDER BY name LIMIT length(name);
-org.apache.spark.sql.AnalysisException: The limit expression must evaluate to 
a constant value ...
+org.apache.spark.sql.AnalysisException
+{
+  "errorClass" : "_LEGACY_ERROR_TEMP_2400",

Review Comment:
   BTW, is this really what the end users will see?



##########
docs/sql-ref-syntax-qry-select-limit.md:
##########
@@ -91,7 +91,21 @@ SELECT name, age FROM person ORDER BY name LIMIT 
length('SPARK');
 
 -- A non-foldable expression as an input to LIMIT is not allowed.
 SELECT name, age FROM person ORDER BY name LIMIT length(name);
-org.apache.spark.sql.AnalysisException: The limit expression must evaluate to 
a constant value ...
+org.apache.spark.sql.AnalysisException
+{
+  "errorClass" : "_LEGACY_ERROR_TEMP_2400",

Review Comment:
   BTW, is this really what the end users will see? A JSON string?



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