MaxGekk commented on code in PR #39977:
URL: https://github.com/apache/spark/pull/39977#discussion_r1104180348
##########
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/rules.scala:
##########
@@ -78,9 +78,10 @@ class ResolveSQLOnFile(sparkSession: SparkSession) extends
Rule[LogicalPlan] {
case e: Exception =>
// the provider is valid, but failed to create a logical plan
u.failAnalysis(
- errorClass = "_LEGACY_ERROR_TEMP_2332",
- messageParameters = Map("msg" -> e.getMessage),
- cause = e)
+ errorClass = "UNSUPPORTED_DATASOURCE",
Review Comment:
Is it correct error class? Don't you assigned the name
`UNSUPPORTED_DATASOURCE_FOR_DIRECT_QUERY`?
--
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]