You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/03/21 09:17:00 UTC
[jira] [Assigned] (SPARK-47483) Add support for aggregation and join operations on arrays of collated strings
[ https://issues.apache.org/jira/browse/SPARK-47483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot reassigned SPARK-47483:
--------------------------------------
Assignee: Apache Spark
> Add support for aggregation and join operations on arrays of collated strings
> -----------------------------------------------------------------------------
>
> Key: SPARK-47483
> URL: https://issues.apache.org/jira/browse/SPARK-47483
> Project: Spark
> Issue Type: Task
> Components: SQL
> Affects Versions: 4.0.0
> Reporter: Nikola Mandic
> Assignee: Apache Spark
> Priority: Major
> Labels: pull-request-available
>
> Example of aggregation sequence:
> {code:java}
> create table t(a array<string collate utf8_binary_lcase>) using parquet;
> insert into t(a) values(array('a' collate utf8_binary_lcase));
> insert into t(a) values(array('A' collate utf8_binary_lcase));
> select distinct a from t; {code}
> Example of join sequence:
> {code:java}
> create table l(a array<string collate utf8_binary_lcase>) using parquet;
> create table r(a array<string collate utf8_binary_lcase>) using parquet;
> insert into l(a) values(array('a' collate utf8_binary_lcase));
> insert into r(a) values(array('A' collate utf8_binary_lcase));
> select * from l join r where l.a = r.a; {code}
> Both runs should yield one row since the arrays are considered equal.
--
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