You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2014/06/13 02:15:03 UTC

[jira] [Created] (SPARK-2135) InMemoryColumnarScan does not get planned correctly

Michael Armbrust created SPARK-2135:
---------------------------------------

             Summary: InMemoryColumnarScan does not get planned correctly
                 Key: SPARK-2135
                 URL: https://issues.apache.org/jira/browse/SPARK-2135
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 1.0.0
            Reporter: Michael Armbrust
            Assignee: Michael Armbrust


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:
{code}
    TestSQLContext.sql("SELECT * FROM testData").registerAsTable("selectStar")
    TestSQLContext.cacheTable("selectStar")
    TestSQLContext.sql("SELECT * FROM selectStar WHERE key = 1").collect()
{code}

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



--
This message was sent by Atlassian JIRA
(v6.2#6252)