[ https://issues.apache.org/jira/browse/SPARK-8244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14611698#comment-14611698 ]
Apache Spark commented on SPARK-8244: ------------------------------------- User 'tarekauel' has created a pull request for this issue: https://github.com/apache/spark/pull/7186 > string function: find_in_set > ---------------------------- > > Key: SPARK-8244 > URL: https://issues.apache.org/jira/browse/SPARK-8244 > Project: Spark > Issue Type: Sub-task > Components: SQL > Reporter: Reynold Xin > Assignee: Cheng Hao > Priority: Minor > > find_in_set(string str, string strList): int > Returns the first occurance of str in strList where strList is a > comma-delimited string. Returns null if either argument is null. Returns 0 if > the first argument contains any commas. For example, find_in_set('ab', > 'abc,b,ab,c,def') returns 3. > Only add this to SQL, not DataFrame. -- 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