HyukjinKwon commented on code in PR #46451:
URL: https://github.com/apache/spark/pull/46451#discussion_r1593312100


##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala:
##########
@@ -1648,6 +1648,20 @@ class AstBuilder extends DataTypeAstBuilder with 
SQLConfHelper with Logging {
       message = "ORDER BY cannot be specified unless either " +
         "PARTITION BY or WITH SINGLE PARTITION is also present",
       ctx = ctx.tableArgumentPartitioning)
+    def invalidPartitionOrOrderingExpression(clause: String): String = {
+      s"The table function call includes a table argument with an invalid 
partitioning/ordering " +
+        s"specification: the $clause clause included multiple expressions 
without parentheses " +
+        s"surrounding them; please add parentheses around these expressions 
and then retry the " +
+        s"query again"

Review Comment:
   ```suggestion
         "The table function call includes a table argument with an invalid 
partitioning/ordering " +
           s"specification: the $clause clause included multiple expressions 
without parentheses " +
           "surrounding them; please add parentheses around these expressions 
and then retry the " +
           "query again"
   ```



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

Reply via email to