Add mode aggregation
This commit is contained in:
parent
ba6cca46a1
commit
507d105ab2
@ -46,6 +46,9 @@ const SUPPORTED_AGGREGATE_FUNCTIONS = {
|
||||
},
|
||||
'max': {
|
||||
sql: (column_name, params) => `max(${params.aggregated_column || column_name})`
|
||||
},
|
||||
'mode': {
|
||||
sql: (column_name, params) => `cdb_mode(${params.aggregated_column || column_name})`
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user