Github user dongjoon-hyun commented on the issue:
https://github.com/apache/spark/pull/22548
It turns out that `withTempTable` cannot be here together because it
requires `spark.catalog`.
```scala
def withTempTable(tableNames: String*)(f: => Unit): Unit = {
try f finally tableNames.foreach(spark.catalog.dropTempView)
}
```
Since it requires function signature changes, shall we postpone
`withTempTable` as another PR?
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]