You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nikola Mandic (Jira)" <ji...@apache.org> on 2024/03/25 08:11:00 UTC

[jira] [Created] (SPARK-47541) Collated strings in complex types supporting operations reverse, array_join, concat, map

Nikola Mandic created SPARK-47541:
-------------------------------------

             Summary: Collated strings in complex types supporting operations reverse, array_join, concat, map
                 Key: SPARK-47541
                 URL: https://issues.apache.org/jira/browse/SPARK-47541
             Project: Spark
          Issue Type: Task
          Components: SQL
    Affects Versions: 4.0.0
            Reporter: Nikola Mandic


Add proper support for complex types containing collated strings in operations reverse, array_join, concat, map (create). Examples:
{code:java}
select reverse('abc' collate utf8_binary_lcase);
select reverse(array('a' collate utf8_binary_lcase, 'b' collate utf8_binary_lcase));
select array_join(array('a' collate utf8_binary_lcase, 'b' collate utf8_binary_lcase), ', ' collate utf8_binary_lcase);
select concat('a' collate utf8_binary_lcase, 'b' collate utf8_binary_lcase);
select map('a' collate utf8_binary_lcase, 1, 'A' collate utf8_binary_lcase, 2);{code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org