Skip to content

Commit

Permalink
[Fix] no aggregation options can be selected for date field when grou…
Browse files Browse the repository at this point in the history
…pby [UN-2215] (#403)

* fix no aggregation options for date field when groupby

Signed-off-by: Xun Li <[email protected]>

* reset scale functions for FIELD_OPTS.date; add min max agg functions for date and timestamp(see platform pr2284)

Signed-off-by: Xun Li <[email protected]>
  • Loading branch information
lixun910 authored and igorDykhta committed Oct 14, 2022
1 parent 791bbe2 commit a912f99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/constants/src/default-settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@ export const FIELD_OPTS = {
}
},
date: {
type: 'time',
scale: {
...ordinalFieldScaleFunctions,
...ordinalFieldAggrScaleFunctions
Expand Down

0 comments on commit a912f99

Please sign in to comment.