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

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

    [ https://issues.apache.org/jira/browse/SPARK-17358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15454638#comment-15454638 ] 

Apache Spark commented on SPARK-17358:
--------------------------------------

User 'watermen' has created a pull request for this issue:
https://github.com/apache/spark/pull/14913

> 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