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

InMemoryColumnarScan does not get planned correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.1, 1.1.0
    • SQL
    • None

    Description

      Right now we do not have a logical concept for in memory data. This breaks planning in several ways:

      This sort of query fails to analyze:

          TestSQLContext.sql("SELECT * FROM testData").registerAsTable("selectStar")
          TestSQLContext.cacheTable("selectStar")
          TestSQLContext.sql("SELECT * FROM selectStar WHERE key = 1").collect()
      

      Also, we read all of the columns even when we don't need to.

      Attachments

        Activity

          People

            marmbrus Michael Armbrust
            marmbrus Michael Armbrust
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: