spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wenchen Fan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SPARK-5278) ambiguous reference to fields in Spark SQL is incompleted
Date Fri, 16 Jan 2015 06:06:34 GMT
Wenchen Fan created SPARK-5278:
----------------------------------

             Summary: ambiguous reference to fields in Spark SQL is incompleted
                 Key: SPARK-5278
                 URL: https://issues.apache.org/jira/browse/SPARK-5278
             Project: Spark
          Issue Type: Bug
          Components: SQL
            Reporter: Wenchen Fan


for json string like
    {"a":[
      {
         "b": 1,
          "B": 2
       }
    }
The SQL `SELECT a.b from t` will report error for ambiguous reference to fields.
But for json string like
    {"a":[
      {
        "b": 1,
        "B": 2
      }]
    }
The SQL `SELECT a[0].b from t` will pass and pick the first `b`



--
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


Mime
View raw message