cloud-fan commented on code in PR #37746:
URL: https://github.com/apache/spark/pull/37746#discussion_r960213508
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/errors/QueryCompilationErrors.scala:
##########
@@ -542,7 +542,9 @@ private[sql] object QueryCompilationErrors extends
QueryErrorsBase {
}
def operationOnlySupportedWithV2TableError(operation: String): Throwable = {
- new AnalysisException(s"$operation is only supported with v2 tables.")
+ new AnalysisException(s"$operation is only supported with v2 tables. To
use" +
+ s" v2 tables, please config the catalog correctly using
spark.sql.catalog" +
Review Comment:
if catalog is not configured correctly, I think users will see table not
found exception?
--
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]