You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "John Muller (JIRA)" <ji...@apache.org> on 2015/06/24 22:54:04 UTC

[jira] [Created] (SPARK-8602) Shared cached DataFrames

John Muller created SPARK-8602:
----------------------------------

             Summary: Shared cached DataFrames
                 Key: SPARK-8602
                 URL: https://issues.apache.org/jira/browse/SPARK-8602
             Project: Spark
          Issue Type: New Feature
          Components: SQL
    Affects Versions: 1.4.0
            Reporter: John Muller


Currently, the only way I can think of to share HiveContexts, SparkContexts, or cached DataFrames is to use spark-jobserver and spark-jobserver-extras:

https://gist.github.com/anonymous/578385766261d6fa7196#file-exampleshareddf-scala

But HiveServer2 users over plain JDBC cannot access the shared dataframe. Request is to add this directly to SparkSQL and treat it like a shared temp table Ex. 

SELECT a, b, c
FROM TableA
CACHE DATAFRAME

This would be very useful for Rollups and Cubes, though I'm not sure what this may mean for HiveMetaStore. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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