[
https://issues.apache.org/jira/browse/CALCITE-6951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
xiong duan updated CALCITE-6951:
--------------------------------
Issue Type: Improvement (was: Bug)
> Add STRING_TO_ARRAY function(enabled in PostgreSQL Library)
> -----------------------------------------------------------
>
> Key: CALCITE-6951
> URL: https://issues.apache.org/jira/browse/CALCITE-6951
> Project: Calcite
> Issue Type: Improvement
> Reporter: xiong duan
> Assignee: juntaozhang
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.40.0
>
>
> *{{STRING_TO_ARRAY}}* is a PostgreSQL function that splits a delimited string
> into an array of substrings based on a specified delimiter. It takes two
> mandatory arguments and an optional third argument:
> # {*}Input String{*}: The source string to be split (e.g.,
> {{{}'apple,banana,cherry'{}}}).
> # {*}Delimiter{*}: The character or substring used to split the input string
> (e.g., {{{}','{}}}).
> # {*}Optional Null String{*}: (Optional) A substring to treat as SQL
> {{NULL}} in the resulting array (e.g., {{{}'NULL'{}}}).
> {*}Example{*}:
> {code:java}
> STRING_TO_ARRAY('John,SMITH,,Doe', ',', '') {code}
> Official link:[STRING_TO_ARRAY in
> PostgreSQL|https://www.postgresql.org/docs/current/functions-string.html]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)