panbingkun commented on code in PR #44503:
URL: https://github.com/apache/spark/pull/44503#discussion_r1436949989
##########
sql/core/src/test/scala/org/apache/spark/sql/execution/QueryExecutionSuite.scala:
##########
@@ -160,7 +160,9 @@ class QueryExecutionSuite extends SharedSparkSession {
// Throw an AnalysisException - this should be captured.
spark.experimental.extraStrategies = Seq[SparkStrategy](
- (_: LogicalPlan) => throw new
AnalysisException("_LEGACY_ERROR_TEMP_3078", Map.empty))
+ (_: LogicalPlan) => throw new AnalysisException(
Review Comment:
The UT can actually handle any type of `AnalysisException`. I have chosen an
error class (`UNSUPPORTED_DATASOURCE_FOR_DIRECT_QUERY`) that is closer to
semantics to replace 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]