EnricoMi commented on code in PR #36150:
URL: https://github.com/apache/spark/pull/36150#discussion_r921912420


##########
core/src/main/resources/error/error-classes.json:
##########
@@ -256,6 +256,18 @@
       "Key <keyValue> does not exist. Use `try_element_at` to tolerate 
non-existent key and return NULL instead. If necessary set <config> to 
\"false\" to bypass this error."
     ]
   },
+  "MELT_REQUIRES_VALUE_COLUMNS" : {
+    "message" : [
+      "At least one non-id column is required to melt. All columns are id 
columns: [<ids>]"
+    ],
+    "sqlState" : "42000"
+  },
+  "MELT_VALUE_DATA_TYPE_MISMATCH" : {
+    "message" : [
+      "Melt value columns must have compatible data types, some data types are 
not compatible: [<types>]"

Review Comment:
   Is "least" the right term here as I want the _most_ or _nearest_ common 
type, not the least common.



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