featurebase/sql
Samir Patel f08d3e2834
fix parens around where clause bug (#2121)
Bug: if a sql query had a where clause within parens, the entire
clause would be ignored; and instead of it translating to a pql
intersection, it would become an All().

This occured b/c the parser library mapped such an expresstion to
a sqlparser.ParenExpr, and we did not have this as a condition in
a type switch.

So instead of treating a ParenExpr as nothing, we now recurse into
it.
2022-06-16 22:21:24 -05:00
..
column.go add copyright notice back in 2021-12-10 11:01:04 -06:00
ddl.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
extract.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
handler_test.go gracefully handle invalid indexes in joins 2022-04-13 11:44:58 -05:00
mapper.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
mapper_test.go add copyright notice back in 2021-12-10 11:01:04 -06:00
mask.go fix parens around where clause bug (#2121) 2022-06-16 22:21:24 -05:00
model.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
query.go Use Distinct() call for SQL DISTINCT 2022-03-01 15:04:32 -07:00
reduce.go Use Distinct() call for SQL DISTINCT 2022-03-01 15:04:32 -07:00
reduce_test.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
router.go Use Distinct() call for SQL DISTINCT 2022-03-01 15:04:32 -07:00
select.go don't panic on nil field during inner join 2022-06-14 10:01:16 -05:00
show.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00