[jira] [Assigned] (SPARK-38345) Introduce SQL function ARRAY_SIZE

2022-03-04 Thread Wenchen Fan (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-38345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wenchen Fan reassigned SPARK-38345:
---

Assignee: Xinrong Meng

> Introduce SQL function ARRAY_SIZE
> -
>
> Key: SPARK-38345
> URL: https://issues.apache.org/jira/browse/SPARK-38345
> Project: Spark
>  Issue Type: New Feature
>  Components: SQL
>Affects Versions: 3.3.0
>Reporter: Xinrong Meng
>Assignee: Xinrong Meng
>Priority: Major
>
> Counting elements within an array is a common use case. ARRAY_SIZE ensures 
> the input to be an array and then returns the size.
> Other DBRMS like Snowflake supports that as well: 
> https://docs.snowflake.com/en/sql-reference/functions/array_size.html. 
> Implementing that improves compatibility with DBMS and makes migration easier.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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



[jira] [Assigned] (SPARK-38345) Introduce SQL function ARRAY_SIZE

2022-02-27 Thread Apache Spark (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-38345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-38345:


Assignee: (was: Apache Spark)

> Introduce SQL function ARRAY_SIZE
> -
>
> Key: SPARK-38345
> URL: https://issues.apache.org/jira/browse/SPARK-38345
> Project: Spark
>  Issue Type: New Feature
>  Components: SQL
>Affects Versions: 3.3.0
>Reporter: Xinrong Meng
>Priority: Major
>
> Counting elements within an array is a common use case. ARRAY_SIZE ensures 
> the input to be an array and then returns the size.
> Other DBRMS like Snowflake supports that as well: 
> https://docs.snowflake.com/en/sql-reference/functions/array_size.html. 
> Implementing that improves compatibility with DBMS and makes migration easier.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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



[jira] [Assigned] (SPARK-38345) Introduce SQL function ARRAY_SIZE

2022-02-27 Thread Apache Spark (Jira)


 [ 
https://issues.apache.org/jira/browse/SPARK-38345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Apache Spark reassigned SPARK-38345:


Assignee: Apache Spark

> Introduce SQL function ARRAY_SIZE
> -
>
> Key: SPARK-38345
> URL: https://issues.apache.org/jira/browse/SPARK-38345
> Project: Spark
>  Issue Type: New Feature
>  Components: SQL
>Affects Versions: 3.3.0
>Reporter: Xinrong Meng
>Assignee: Apache Spark
>Priority: Major
>
> Counting elements within an array is a common use case. ARRAY_SIZE ensures 
> the input to be an array and then returns the size.
> Other DBRMS like Snowflake supports that as well: 
> https://docs.snowflake.com/en/sql-reference/functions/array_size.html. 
> Implementing that improves compatibility with DBMS and makes migration easier.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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