You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2017/01/13 16:22:26 UTC

[jira] [Deleted] (SPARK-19194) collection function: index

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

Sean Owen deleted SPARK-19194:
------------------------------


> collection function: index
> --------------------------
>
>                 Key: SPARK-19194
>                 URL: https://issues.apache.org/jira/browse/SPARK-19194
>             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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org