xiong duan created CALCITE-6951: ----------------------------------- Summary: 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: Bug Reporter: xiong duan
*{{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|http://example.com|https://www.postgresql.org/docs/current/functions-string.html] -- This message was sent by Atlassian Jira (v8.20.10#820010)