urosstan-db commented on code in PR #45102:
URL: https://github.com/apache/spark/pull/45102#discussion_r1495529318
##########
sql/core/src/test/scala/org/apache/spark/sql/jdbc/JDBCV2Suite.scala:
##########
@@ -3021,4 +3022,10 @@ class JDBCV2Suite extends QueryTest with
SharedSparkSession with ExplainSuiteHel
JdbcDialects.registerDialect(H2Dialect)
}
}
+
+ test("Explain shows executed SQL query") {
+ val df = sql("SELECT max(id) FROM h2.test.people WHERE id > 1")
+ val explained = getNormalizedExplain(df, FormattedMode)
+ assert(explained.contains("External engine query:"))
Review Comment:
You are right, let me fix that.
--
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]