[ https://issues.apache.org/jira/browse/SPARK-19194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15821956#comment-15821956 ]
Sean Owen commented on SPARK-19194: ----------------------------------- This issue has become corrupted somehow by JIRA and I'll have to delete it. Could you reopen it? More detail would be useful, and please don't set Target. > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org