Skip to content

v0.15.0

Latest

Choose a tag to compare

@rustyconover rustyconover released this 12 Jul 17:22

required_filters (AND-of-ORs)

Replaces the flat, AND-only Table.required_field_filter_paths with a unified
required_filters field in conjunctive normal form: an AND (outer list) of
OR-groups (inner lists) of dotted-path column references. A group is satisfied
when any one of its paths has a WHERE filter; every group must be satisfied.

required_filters=(("accession_number",), ("ticker", "cik"))
# → "accession_number AND one of (ticker, cik)"

This expresses the common "ticker OR cik" requirement the old flat list could
not. Wire type is now list<list<utf8>>, kept as the trailing TableInfo
field so older extensions degrade gracefully to no-enforcement.

Breaking: clean rename, no backward compatibility. Pair with the matching
VGI DuckDB extension build that reads required_filters.