Description
at hive context
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`
Attachments
Issue Links
- is duplicated by
-
SPARK-6273 Got error when one table's alias name is the same with other table's column name
- Resolved
- links to