karenfeng commented on a change in pull request #34168:
URL: https://github.com/apache/spark/pull/34168#discussion_r726633872
##########
File path: core/src/main/resources/error/error-classes.json
##########
@@ -121,6 +172,13 @@
"message" : [ "The second argument of '%s' function needs to be an
integer." ],
"sqlState" : "22023"
},
+ "SERDE_INTERFACE_NOT_FOUND" : {
+ "message" : [ "The SerDe interface removed since Hive 2.3(HIVE-15167).
Please migrate your custom SerDes to Hive 2.3. See HIVE-15167 for more
details." ],
+ "sqlState" : "0A000"
+ },
+ "STATE_NOT_DEFINED_OR_ALREADY_REMOVED" : {
Review comment:
I don't believe this is used, please remove it.
##########
File path: core/src/main/resources/error/error-classes.json
##########
@@ -86,13 +119,27 @@
"INVALID_JSON_SCHEMA_MAPTYPE" : {
"message" : [ "Input schema %s can only contain StringType as a key type
for a MapType." ]
},
+ "INVALID_PARTITION_FILTER" : {
+ "message" : [ "Partition filter cannot have both `\"` and `\\'`
characters" ],
+ "sqlState" : "42000"
+ },
+ "LEGACY_METADATA_PATH_EXISTS" : {
+ "message" : [ "Error: we detected a possible problem with the location of
your \"_spark_metadata\" directory and you likely need to move it before
restarting this query.", "Earlier version of Spark incorrectly escaped paths
when writing out the \"_spark_metadata\" directory for structured streaming.",
"While this was corrected in Spark 3.0, it appears that your query was started
using an earlier version that incorrectly handled the \"_spark_metadata\"
path.", "Correct \"_spark_metadata\" Directory: %s. Incorrect
\"_spark_metadata\" Directory: %s", "Please move the data from the incorrect
directory to the correct one, delete the incorrect directory, and then restart
this query.", "If you believe you are receiving this message in error, you can
disable it with the SQL conf %s." ]
+ },
+ "LOAD_HIVE_CLIENT_CAUSES_NO_CLASS_DEFINITION_FOUND" : {
+ "message" : [ "%s when creating Hive client using classpath: %s", "Please
make sure that jars for your version of hive and hadoop are included in the
paths passed to %s." ]
+ },
"MAP_KEY_DOES_NOT_EXIST" : {
"message" : [ "Key %s does not exist." ]
},
"MISSING_COLUMN" : {
"message" : [ "cannot resolve '%s' given input columns: [%s]" ],
"sqlState" : "42000"
},
+ "MISSING_PARTITION_COLUMN" : {
Review comment:
I don't believe this is used; please remove it.
##########
File path: core/src/main/resources/error/error-classes.json
##########
@@ -11,10 +15,24 @@
"message" : [ "%s cannot be represented as Decimal(%s, %s)." ],
"sqlState" : "22005"
},
+ "CANNOT_CONVERT_HIVE_TABLE_TO_CATALOG_TABLE" : {
+ "message" : [ "%s, db: %s, table: %s" ]
+ },
+ "CANNOT_FETCH_DATABASE_TABLES" : {
+ "message" : [ "Unable to fetch tables of db %s" ]
+ },
"CANNOT_PARSE_DECIMAL" : {
"message" : [ "Cannot parse decimal" ],
"sqlState" : "42000"
},
+ "CANNOT_RECOGNIZE_HIVE_TYPE" : {
+ "message" : [ "Cannot recognize hive type string: %s, column: %s" ],
+ "sqlState" : "42000"
+ },
+ "CANNOT_SET_TIMEOUT_DURATION" : {
Review comment:
I don't believe this is used; please remove it.
--
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]