Github user cloud-fan commented on a diff in the pull request:
https://github.com/apache/spark/pull/12945#discussion_r62799493
--- Diff:
sql/core/src/main/scala/org/apache/spark/sql/catalog/Catalog.scala ---
@@ -175,13 +175,37 @@ abstract class Catalog {
options: Map[String, String]): DataFrame
/**
- * Drops the temporary table with the given table name in the catalog.
- * If the table has been cached before, then it will also be uncached.
+ * Drops the temporary view with the given view name in the catalog.
+ * If the view has been cached before, then it will also be uncached.
*
- * @param tableName the name of the table to be dropped.
+ * @param viewName the name of the view to be dropped.
* @since 2.0.0
*/
- def dropTempTable(tableName: String): Unit
+ def dropTempView(viewName: String): Unit
+
+
+ /**
+ * Creates a temporary view in the catalog with the given [[DataFrame]].
+ *
+ * @param viewName the name of the view to be created
+ * @df the DataFrame used to create the view.
--- End diff --
nit: `@param df`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]