panbingkun commented on code in PR #39003:
URL: https://github.com/apache/spark/pull/39003#discussion_r1048404398
##########
core/src/main/resources/error/error-classes.json:
##########
@@ -1279,6 +1279,11 @@
"The ANALYZE TABLE FOR COLUMNS command can operate on temporary
views that have been cached already. Consider to cache the view <viewName>."
]
},
+ "ANALYZE_UNSUPPORTED_COLUMN_TYPE" : {
+ "message": [
+ "The ANALYZE TABLE FOR COLUMNS command does not support on <colName>
(data type: <dataType>) in table <tableName>."
+ ]
Review Comment:
The error message is more reasonable as follows ?
The ANALYZE TABLE FOR COLUMNS command can't operate on <colName> in table
<tableName>, because it don't support <dataType>.
--
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]