viirya commented on code in PR #36750:
URL: https://github.com/apache/spark/pull/36750#discussion_r888506364
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala:
##########
@@ -1628,8 +1628,8 @@ object QueryCompilationErrors extends QueryErrorsBase {
new AnalysisException(s"$tableIdentifier should be converted to
HadoopFsRelation.")
}
- def alterDatabaseLocationUnsupportedError(version: String): Throwable = {
- new AnalysisException(s"Hive $version does not support altering database
location")
+ def alterDatabaseLocationUnsupportedError(): Throwable = {
+ new AnalysisException(s"Hive metastore does not support altering database
location")
Review Comment:
nit:
```suggestion
new AnalysisException("Hive metastore does not support altering database
location")
```
--
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]