You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/07/02 11:31:05 UTC
[jira] [Assigned] (SPARK-8244) string function: find_in_set
[ https://issues.apache.org/jira/browse/SPARK-8244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-8244:
-----------------------------------
Assignee: Cheng Hao (was: Apache Spark)
> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org