You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2015/06/09 09:23:00 UTC

[jira] [Created] (SPARK-8244) string function: find_in_set

Reynold Xin created SPARK-8244:
----------------------------------

             Summary: string function: find_in_set
                 Key: SPARK-8244
                 URL: https://issues.apache.org/jira/browse/SPARK-8244
             Project: Spark
          Issue Type: Sub-task
            Reporter: Reynold Xin
            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.




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