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

InMemoryColumnarScan does not get planned correctly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.1, 1.1.0
    • Component/s: SQL
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: