malduarte opened a new issue, #54590:
URL: https://github.com/apache/spark/issues/54590
It is currently impossible to get the query execution plan for a `create or
replace table` without executing the statement.
How to replicate:
```
scala> spark.version
val res5: String = 4.1.1
scala> spark.catalog.tableExists("aux.bogus")
val res2: Boolean = false
scala> spark.sql("create or replace table aux.bogus as select 1")
val res3: org.apache.spark.sql.DataFrame = []
scala> spark.catalog.tableExists("aux.bogus")
val res4: Boolean = true
```
--
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]