featurebase/sql3
pokeeffe-molecula 448fc81c2e fb-1075 (#2221)
* handle multi field count correctly

COUNT() should ignore null values.
If the data type of the expression supports an existence bitmap for the underlying FeatureBase data type we will use it to eliminate nulls from the aggregate

* simplify aggregate for existence test

we can use a direct != null instead of an indirect not(=null), and
avoid relying on the probably-broken behavior in the executor that
tries to silently fix up Row(x=3) tests on BSI fields which wanted
Row(x==3).

Co-authored-by: Seebs <seebs@molecula.com>
2022-09-30 11:25:27 -07:00
..
parser sql3 changes (#2211) 2022-09-30 11:21:11 -07:00
planner fb-1075 (#2221) 2022-09-30 11:25:27 -07:00
test cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
errors.go sql3 changes (#2211) 2022-09-30 11:21:11 -07:00
interfaces.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
sql3.ebnf sql3 changes (#2211) 2022-09-30 11:21:11 -07:00
sql_definitions_test.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
sql_defs_aggregate_test.go fb-1075 (#2221) 2022-09-30 11:25:27 -07:00
sql_defs_between_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-09-30 11:10:24 -07:00
sql_defs_binops_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-09-30 11:10:24 -07:00
sql_defs_cast_test.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
sql_defs_create_table_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-09-30 11:10:24 -07:00
sql_defs_date_functions_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-09-30 11:10:24 -07:00
sql_defs_groupby_test.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00
sql_defs_in_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-09-30 11:10:24 -07:00
sql_defs_like_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-09-30 11:10:24 -07:00
sql_defs_null_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-09-30 11:10:24 -07:00
sql_defs_set_functions_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-09-30 11:10:24 -07:00
sql_defs_timequantum_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-09-30 11:10:24 -07:00
sql_defs_unops_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-09-30 11:10:24 -07:00
sql_test.go cleaned up sync from private repo 2022-09-30 11:20:58 -07:00