You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by leobenkel <gi...@git.apache.org> on 2018/07/10 23:21:02 UTC

[GitHub] spark issue #16609: [SPARK-8480] [CORE] [PYSPARK] [SPARKR] Add setName for D...

Github user leobenkel commented on the issue:

    https://github.com/apache/spark/pull/16609
  
    I am confused about this thing. If I want to see my dataframe in the storage tab, i need to do:
    
    ```
    df.createGlobalTempView("myName")
    df.sparkSession.catalog.cacheTable("myName")
    ```
    Does that only give a name ? 
    Or is that caching it as well ? 
    
    What if prior to that I had 
    
    `df.persist(....)` 
    
    Will it be cached twice ? 


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org