YannByron commented on code in PR #2376:
URL: https://github.com/apache/incubator-paimon/pull/2376#discussion_r1402948593
##########
paimon-spark/paimon-spark-common/src/test/scala/org/apache/paimon/spark/PaimonSparkTestBase.scala:
##########
@@ -90,4 +90,8 @@ class PaimonSparkTestBase extends QueryTest with
SharedSparkSession with WithTab
def loadTable(tableName: String): AbstractFileStoreTable = {
catalog.getTable(Identifier.create(dbName0,
tableName)).asInstanceOf[AbstractFileStoreTable]
}
+
+ def explain(sql: String): String = {
+ spark.sql(s"EXPLAIN $sql").collect().map(_.mkString).mkString
Review Comment:
please use `queryExecution` to determine logical/physical plan.
--
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]