Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-17358

Cached table(parquet/orc) should be shard between beelines

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.1, 2.1.0
    • SQL
    • None

    Description

      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

      CACHE TABLE src_pqt;
      
      EXPLAIN SELECT * FROM src_pqt;
      | == Physical Plan ==
      InMemoryTableScan
         +- InMemoryRelation
               +- *FileScan parquet default.src_pqt
      

      Beeline2

      EXPLAIN SELECT * FROM src_pqt;
      
      | == Physical Plan ==
      *FileScan parquet default.src_pqt
      

      Attachments

        Activity

          People

            waterman Yadong Qi
            waterman Yadong Qi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: