MaxGekk commented on code in PR #41339:
URL: https://github.com/apache/spark/pull/41339#discussion_r1208001705


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -1393,6 +1403,11 @@
       }
     }
   },
+  "JOIN_CONDITION_IS_NOT_BOOLEAN_TYPE" : {
+    "message" : [
+      "join condition '<joinCondition>' of type <conditionType> is not a 
boolean."

Review Comment:
   ```suggestion
         "The join condition <joinCondition> has the invalid type 
<conditionType>, expected \"BOOLEAN\"."
   ```



##########
core/src/main/resources/error/error-classes.json:
##########
@@ -617,6 +617,11 @@
       "Not found an encoder of the type <typeName> to Spark SQL internal 
representation. Consider to change the input type to one of supported at 
'<docroot>/sql-ref-datatypes.html'."
     ]
   },
+  "EVENT_TIME_IS_NOT_ON_TIMESTAMP_TYPE" : {
+    "message" : [
+      "Event time must be defined on a window or a timestamp, but <eventName> 
is of type <eventType>."

Review Comment:
   ```suggestion
         "The event time <eventName> has the invalid type <eventType>, but 
expected \"TIMESTAMP\"."
   ```



##########
core/src/main/resources/error/error-classes.json:
##########
@@ -1371,6 +1376,11 @@
     ],
     "sqlState" : "42903"
   },
+  "INVALID_WINDOW_SPEC_FOR_AGGREGATION_FUNC" : {
+    "message" : [
+      "Cannot specify order by or frame for '<aggFunc>'."

Review Comment:
   ```suggestion
         "Cannot specify ORDER BY or a window frame for <aggFunc>."
   ```



##########
core/src/main/resources/error/error-classes.json:
##########
@@ -1780,6 +1795,11 @@
     ],
     "sqlState" : "22023"
   },
+  "SEED_EXPRESSION_IS_UNRESOLVED" : {

Review Comment:
   ```suggestion
     "NON_FOLDABLE_SEED_EXPRESSION" : {
   ```



##########
core/src/main/resources/error/error-classes.json:
##########
@@ -1780,6 +1795,11 @@
     ],
     "sqlState" : "22023"
   },
+  "SEED_EXPRESSION_IS_UNRESOLVED" : {
+    "message" : [
+      "Input argument to <argName> must be a constant."

Review Comment:
   ```suggestion
         "The seed expression <seedExpr> of the expression <exprWithSeed> must 
be foldable."
   ```



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