Merge pull request #1958 from molecula/fb-1226

[FB-1226] Enable multi-field WHERE clause for GROUP BY SQL queries
This commit is contained in:
Ben Johnson 2022-03-01 15:04:20 -07:00 committed by GitHub
commit 321c14880b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -58,7 +58,7 @@ func newRouter() *router {
groupByOptional := NewQueryMask(
SelectPartField|SelectPartFields|SelectPartCountStar|SelectPartSumField,
FromPartTable,
WherePartFieldCondition, // TODO: this can probably handle fields as well
WherePartFieldCondition|WherePartMultiFieldCondition,
GroupByPartField|GroupByPartFields,
HavingPartCondition,
)