Is there a way to modify the aggregate functions in SQL queries?
Open
api:sql
question
- Dominant language
- Rust
- Stars
- 20.8k
- Forks
- 2.1k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 181
Description
**Problem**
For the SQL API, if the defined metric is 'sum', such as:
Is there a way to support the query "select max(number)"?
**Related Cube.js schema**
```javascript
number: {
sql: `number`,
type: `sum`
}
```
Contributor guide
Assessment
This issue has not been assessed yet.