Github user arman1371 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16598#discussion_r116655733
  
    --- Diff: sql/core/src/main/scala/org/apache/spark/sql/Dataset.scala ---
    @@ -2603,6 +2603,21 @@ class Dataset[T] private[sql](
       def createGlobalTempView(viewName: String): Unit = withPlan {
         createTempViewCommand(viewName, replace = false, global = true)
       }
    +    
    +  /**
    +   * Creates or replaces a global temporary view using the given name. The 
lifetime of this
    +   * temporary view is tied to this Spark application.
    +   *
    +   * Global temporary view is cross-session. Its lifetime is the lifetime 
of the Spark application,
    +   * i.e. it will be automatically dropped when the application 
terminates. It's tied to a system
    +   * preserved database `_global_temp`, and we must use the qualified name 
to refer a global temp
    +   * view, e.g. `SELECT * FROM _global_temp.view1`.
    +   *
    +   * @group basic
    --- End diff --
    
    No, in the API
    I edited the comment


---
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]

Reply via email to