[jira] [Updated] (SPARK-5278) check ambiguous reference to fields in Spark SQL is incompleted

2015-02-11 Thread Patrick Wendell (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-5278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Wendell updated SPARK-5278:
---
Assignee: Wenchen Fan

> check 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
>Assignee: Wenchen Fan
> Fix For: 1.3.0
>
>
> at hive context
> for json string like
> {code}{"a": {"b": 1, "B": 2}}{code}
> The SQL `SELECT a.b from t` will report error for ambiguous reference to 
> fields.
> But for json string like
> {code}{"a": [{"b": 1, "B": 2}]}{code}
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Updated] (SPARK-5278) check ambiguous reference to fields in Spark SQL is incompleted

2015-01-16 Thread Wenchen Fan (JIRA)

 [ 
https://issues.apache.org/jira/browse/SPARK-5278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wenchen Fan updated SPARK-5278:
---
Summary: check ambiguous reference to fields in Spark SQL is incompleted  
(was: ambiguous reference to fields in Spark SQL is incompleted)

> check 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
>
> at hive context
> for json string like
> {code}{"a": {"b": 1, "B": 2}}{code}
> The SQL `SELECT a.b from t` will report error for ambiguous reference to 
> fields.
> But for json string like
> {code}{"a": [{"b": 1, "B": 2}]}{code}
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org