You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yadong Qi (JIRA)" <ji...@apache.org> on 2016/09/01 06:56:20 UTC

[jira] [Created] (SPARK-17358) Cached table(parquet/orc) should be shard between beelines

Yadong Qi created SPARK-17358:
---------------------------------

             Summary: Cached table(parquet/orc) should be shard between beelines
                 Key: SPARK-17358
                 URL: https://issues.apache.org/jira/browse/SPARK-17358
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.0.0
            Reporter: Yadong Qi


I cached table(parquet) in Beeline1, and couldn't use cache data in Beeline2. But table in text format is OK.(Cached table(text) can be shard between beelines)

Beeline1
{code:sql}
CACHE TABLE src_pqt;

EXPLAIN SELECT * FROM src_pqt;
| == Physical Plan ==
InMemoryTableScan
   +- InMemoryRelation
         +- *FileScan parquet default.src_pqt
{code}

Beeline2
{code:sql}
EXPLAIN SELECT * FROM src_pqt;

| == Physical Plan ==
*FileScan parquet default.src_pqt
{code}



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