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 d36a799 commit 5d9e1eaCopy full SHA for 5d9e1ea
src/webserver/database/sql.rs
@@ -229,7 +229,7 @@ fn extract_static_simple_select(
229
&& s.distinct.is_none()
230
&& s.distribute_by.is_empty()
231
&& s.from.is_empty()
232
- && s.group_by.is_empty()
+ && matches!(&s.group_by, sqlparser::ast::GroupByExpr::Expressions(e) if e.is_empty())
233
&& s.having.is_none()
234
&& s.into.is_none()
235
&& s.lateral_views.is_empty()
0 commit comments