[jira] [Commented] (SPARK-38997) DS V2 aggregate push-down supports group by expressions

2022-06-06 Thread Apache Spark (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-38997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17550442#comment-17550442
 ] 

Apache Spark commented on SPARK-38997:
--

User 'beliefer' has created a pull request for this issue:
https://github.com/apache/spark/pull/36776

> DS V2 aggregate push-down supports group by expressions
> ---
>
> Key: SPARK-38997
> URL: https://issues.apache.org/jira/browse/SPARK-38997
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.4.0
>Reporter: jiaan.geng
>Assignee: jiaan.geng
>Priority: Major
> Fix For: 3.3.0
>
>
> Currently, Spark DS V2 aggregate push-down only supports group by column.
> But the SQL show below is very useful and common.
> SELECT CASE WHEN ("SALARY" > 8000.00) AND ("SALARY" < 1.00) THEN "SALARY" 
> ELSE 0.00 END AS key, SUM("SALARY") FROM "test"."employee"   GROUP BY key



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



[jira] [Commented] (SPARK-38997) DS V2 aggregate push-down supports group by expressions

2022-06-06 Thread Apache Spark (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-38997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17550443#comment-17550443
 ] 

Apache Spark commented on SPARK-38997:
--

User 'beliefer' has created a pull request for this issue:
https://github.com/apache/spark/pull/36776

> DS V2 aggregate push-down supports group by expressions
> ---
>
> Key: SPARK-38997
> URL: https://issues.apache.org/jira/browse/SPARK-38997
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.4.0
>Reporter: jiaan.geng
>Assignee: jiaan.geng
>Priority: Major
> Fix For: 3.3.0
>
>
> Currently, Spark DS V2 aggregate push-down only supports group by column.
> But the SQL show below is very useful and common.
> SELECT CASE WHEN ("SALARY" > 8000.00) AND ("SALARY" < 1.00) THEN "SALARY" 
> ELSE 0.00 END AS key, SUM("SALARY") FROM "test"."employee"   GROUP BY key



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



[jira] [Commented] (SPARK-38997) DS V2 aggregate push-down supports group by expressions

2022-04-22 Thread Apache Spark (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-38997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17526359#comment-17526359
 ] 

Apache Spark commented on SPARK-38997:
--

User 'beliefer' has created a pull request for this issue:
https://github.com/apache/spark/pull/36325

> DS V2 aggregate push-down supports group by expressions
> ---
>
> Key: SPARK-38997
> URL: https://issues.apache.org/jira/browse/SPARK-38997
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.4.0
>Reporter: jiaan.geng
>Priority: Major
>
> Currently, Spark DS V2 aggregate push-down only supports group by column.
> But the SQL show below is very useful and common.
> SELECT CASE WHEN ("SALARY" > 8000.00) AND ("SALARY" < 1.00) THEN "SALARY" 
> ELSE 0.00 END AS key, SUM("SALARY") FROM "test"."employee"   GROUP BY key



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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



[jira] [Commented] (SPARK-38997) DS V2 aggregate push-down supports group by expressions

2022-04-22 Thread Apache Spark (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-38997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17526357#comment-17526357
 ] 

Apache Spark commented on SPARK-38997:
--

User 'beliefer' has created a pull request for this issue:
https://github.com/apache/spark/pull/36325

> DS V2 aggregate push-down supports group by expressions
> ---
>
> Key: SPARK-38997
> URL: https://issues.apache.org/jira/browse/SPARK-38997
> Project: Spark
>  Issue Type: Sub-task
>  Components: SQL
>Affects Versions: 3.4.0
>Reporter: jiaan.geng
>Priority: Major
>
> Currently, Spark DS V2 aggregate push-down only supports group by column.
> But the SQL show below is very useful and common.
> SELECT CASE WHEN ("SALARY" > 8000.00) AND ("SALARY" < 1.00) THEN "SALARY" 
> ELSE 0.00 END AS key, SUM("SALARY") FROM "test"."employee"   GROUP BY key



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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