We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99d4ab2 commit 16330a3Copy full SHA for 16330a3
src/query/sql/src/planner/semantic/type_check.rs
@@ -3183,7 +3183,8 @@ impl<'a> TypeChecker<'a> {
3183
.contains(func.name.to_string());
3184
}
3185
fn enter_expr(&mut self, expr: &Expr) {
3186
- self.contain_agg = matches!(expr, Expr::CountAll { window: None, .. });
+ self.contain_agg = self.contain_agg
3187
+ || matches!(expr, Expr::CountAll { window: None, .. });
3188
3189
3190
let mut visitor = AggFuncVisitor { contain_agg: false };
0 commit comments