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

Sean Owen deleted SPARK-19195:
------------------------------


> collection function:index
> -------------------------
>
>                 Key: SPARK-19195
>                 URL: https://issues.apache.org/jira/browse/SPARK-19195
>             Project: Spark
>          Issue Type: Sub-task
>            Reporter: Chenzhao Guo
>
> Expression Index returns the value of index n (right) of the array/map (left).
> To be consistent with Hive, the left parameter should be of ArrayType or 
> MapType, while the right parameter should be of AtomicType or NullType.
> Except the rules above, Hive won't throw any exceptions, even if there's a 
> type mismatch, it will output NULL to indicate not found. This implementation 
> follows the rule.



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

Reply via email to