featurebase/sql3
pokeeffe-molecula 91e3b8457a
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-20 14:53:10 -05:00
..
parser sql3 changes (#2211) 2022-09-06 11:16:11 -05:00
planner fb-1075 (#2221) 2022-09-20 14:53:10 -05:00
test added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
errors.go sql3 changes (#2211) 2022-09-06 11:16:11 -05:00
interfaces.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
sql3.ebnf sql3 changes (#2211) 2022-09-06 11:16:11 -05:00
sql_definitions_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
sql_defs_aggregate_test.go fb-1075 (#2221) 2022-09-20 14:53:10 -05:00
sql_defs_between_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
sql_defs_binops_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
sql_defs_cast_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
sql_defs_create_table_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
sql_defs_date_functions_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
sql_defs_groupby_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
sql_defs_in_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
sql_defs_like_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
sql_defs_null_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
sql_defs_set_functions_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
sql_defs_timequantum_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
sql_defs_unops_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00
sql_test.go added /sql endpoint; implemented SHOW TABLES (#1935) 2022-08-31 13:01:05 -07:00