You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
sparse bloom index contains() function doesn't properly handle array of recordsΒ #10075
# select _timescaledb_functions.bloom1_contains_any('\x0102030405060708'::_timescaledb_internal.bloom1, array[row(1, 'x')]);
ERROR: 42704: type with OID 0 does not exist
I couldn't quickly fix it, looks like some artifact of special handling of record types that we need for composite bloom filters.
I'll check if the records in the array are the expected shape for the bloom filter, and return 'true' for the contains function, bypassing the bloom filtering.
Activity
akuzm commentedon Jun 17, 2026
This can be a relatively serious problem because it reads memory using a wrong type, can potentially segfault. cc @dbeck
akuzm commentedon Jun 17, 2026
Not sure if we can make this can work at all, elements can have different type.
dbeck commentedon Jul 14, 2026
I'll check if the records in the array are the expected shape for the bloom filter, and return 'true' for the contains function, bypassing the bloom filtering.
Remove the SQL callable bloom1_contains function
Remove the SQL callable bloom1_contains function
Remove the SQL callable bloom1_contains function
Remove the SQL callable bloom1_contains function
Release 2.23.0