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


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -1501,6 +1501,11 @@
       "The join condition <joinCondition> has the invalid type 
<conditionType>, expected \"BOOLEAN\"."
     ]
   },
+  "LOCAL_MUST_WITH_SCHEMA_FILE" : {
+    "message" : [
+      "`Local` must be used together with the schema of `file`, but got: 
`<actualSchema>`"

Review Comment:
   ```suggestion
         "LOCAL must be used together with the schema of `file`, but got: 
`<actualSchema>`."
   ```



##########
core/src/main/resources/error/error-classes.json:
##########
@@ -2132,6 +2142,23 @@
     ],
     "sqlState" : "0A000"
   },
+  "UNSUPPORTED_DEFAULT_VALUE" : {
+    "message" : [
+      "DEFAULT column values is not supported."
+    ],
+    "subClass" : {
+      "WITHOUT_SUGGESTION" : {
+        "message" : [
+          ""
+        ]
+      },
+      "WITH_SUGGESTION" : {
+        "message" : [
+          "Enable it by setting `spark.sql.defaultColumn.enabled` to `true`."

Review Comment:
   Could you quote the config and its value by ""



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