You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yuming Wang (JIRA)" <ji...@apache.org> on 2019/06/19 09:14:00 UTC
[jira] [Updated] (SPARK-28087) String Functions: Add support
split_part
[ https://issues.apache.org/jira/browse/SPARK-28087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yuming Wang updated SPARK-28087:
--------------------------------
Description:
||Function||Return Type||Description||Example||Result||
|{{split_part(_string_ }}{{text}}{{,_delimiter_ }}{{text}}{{, _field_ }}{{int}}{{)}}|{{text}}|Split _string_ on _delimiter_ and return the given field (counting from one)|split_part('abc~@~def~@~ghi', '~@~', 2)|{{def}}|
[https://www.postgresql.org/docs/11/functions-string.html]
[http://prestodb.github.io/docs/current/functions/string.html]
was:
||Function||Return Type||Description||Example||Result||
|{{split_part(_string_ }}{{text}}{{,_delimiter_ }}{{text}}{{, _field_ }}{{int}}{{)}}|{{text}}|Split _string_ on _delimiter_ and return the given field (counting from one)|{{split_part('abc~@~def~@~ghi', '~@~', 2)}}|{{def}}|
https://www.postgresql.org/docs/11/functions-string.html
http://prestodb.github.io/docs/current/functions/string.html
> String Functions: Add support split_part
> ----------------------------------------
>
> Key: SPARK-28087
> URL: https://issues.apache.org/jira/browse/SPARK-28087
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Yuming Wang
> Priority: Major
>
> ||Function||Return Type||Description||Example||Result||
> |{{split_part(_string_ }}{{text}}{{,_delimiter_ }}{{text}}{{, _field_ }}{{int}}{{)}}|{{text}}|Split _string_ on _delimiter_ and return the given field (counting from one)|split_part('abc~@~def~@~ghi', '~@~', 2)|{{def}}|
> [https://www.postgresql.org/docs/11/functions-string.html]
> [http://prestodb.github.io/docs/current/functions/string.html]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org