You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "yjshen (via GitHub)" <gi...@apache.org> on 2023/04/05 03:59:39 UTC
[GitHub] [arrow-datafusion] yjshen opened a new issue, #5873: FILTER Clause for Aggregate Functions
yjshen opened a new issue, #5873:
URL: https://github.com/apache/arrow-datafusion/issues/5873
### Is your feature request related to a problem or challenge?
Implement the FILTER clause for aggregate functions (introduced in SQL:2003). This syntax allows for filtering before aggregation.
```sql
SUM(<expression>) FILTER(WHERE <condition>)
```
### Describe the solution you'd like
_No response_
### Describe alternatives you've considered
_No response_
### Additional context
PostgreSQL: https://www.postgresql.org/docs/current/sql-expressions.html#SYNTAX-AGGREGATES
Spark: https://spark.apache.org/docs/3.3.2/sql-ref-syntax-qry-select-groupby.html
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-datafusion] yjshen closed issue #5873: FILTER Clause for Aggregate Functions
Posted by "yjshen (via GitHub)" <gi...@apache.org>.
yjshen closed issue #5873: FILTER Clause for Aggregate Functions
URL: https://github.com/apache/arrow-datafusion/issues/5873
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org