Don’t allow invalid aggregate functions to be used in GROUP BY clauses
This commit is contained in:
parent
369a100c92
commit
1cef0946dc
1 changed files with 0 additions and 2 deletions
|
@ -77,10 +77,8 @@ impl Function {
|
|||
/// Check if this function is a grouping function
|
||||
pub fn is_aggregate(&self) -> bool {
|
||||
match self {
|
||||
Self::Normal(f, _) if f == "array::concat" => true,
|
||||
Self::Normal(f, _) if f == "array::distinct" => true,
|
||||
Self::Normal(f, _) if f == "array::group" => true,
|
||||
Self::Normal(f, _) if f == "array::union" => true,
|
||||
Self::Normal(f, _) if f == "count" => true,
|
||||
Self::Normal(f, _) if f == "math::bottom" => true,
|
||||
Self::Normal(f, _) if f == "math::interquartile" => true,
|
||||
|
|
Loading…
Reference in a new issue