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/11/10 20:09:35 UTC

[jira] [Created] (SPARK-4322) Analysis incorrectly rejects accessing grouping fields

Michael Armbrust created SPARK-4322:
---------------------------------------

             Summary: Analysis incorrectly rejects accessing grouping fields
                 Key: SPARK-4322
                 URL: https://issues.apache.org/jira/browse/SPARK-4322
             Project: Spark
          Issue Type: Bug
            Reporter: Michael Armbrust
            Priority: Blocker


{code}
sqlContext.jsonRDD(sc.parallelize("""{"a": {"b": [{"c": 1}]}}""" :: Nil)).registerTempTable("data")
sqlContext.sql("SELECT a.b[0].c FROM data GROUP BY a.b[0].c").collect()
{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