@@ -285,13 +285,6 @@ membership reaches providers as one `IN` or `NOT_IN` leaf with an empty
285285` frozenset ` : render empty ` IN ` as FALSE and empty ` NOT IN ` as TRUE (NULL rows
286286included), never as an empty SQL list. NULL comparison/LIKE operands are rejected
287287before provider calls.
288- User exclusions with non-NULL operands become
289- ` OrFilter(NOT_EQUALS(value), IS_NULL) ` , ` OrFilter(NOT_LIKE(value), IS_NULL) ` or
290- ` OrFilter(NOT_ILIKE(value), IS_NULL) ` . Non-empty ` NOT_IN ` selections without NULL
291- become ` OrFilter(NOT_IN(values), IS_NULL) ` too. These groups keep missing-value
292- rows, matching ordinary datasets. Explicit NULL exclusion and empty membership
293- retain the leaf shapes above. This normalization applies to host user filters,
294- not SDK-authored predicates; unsupported operators must still be refused.
295288Scalar comparisons use the first collection value, or NULL for an empty collection,
296289matching native datasources.
297290
@@ -307,8 +300,7 @@ semantic views; explicit query filters still apply, including group-limit filter
307300` OrFilter ` is mandatory core vocabulary, not an optional capability. Every
308301provider must render groups for main queries, row counts and group-limit
309302subqueries. Upgrade adapters before, or atomically with, the host/SDK upgrade;
310- leaf-only adapters cannot consume mixed positive NULL selections or NULL-preserving
311- exclusions, even if they previously accepted the exclusion as a leaf. ` get_values ` retains
303+ leaf-only adapters cannot consume mixed positive NULL selections. ` get_values ` retains
312304` set[Filter] | None ` ; its host caller supplies only a LIKE leaf or no filter.
313305
314306Query and group-limit readers need ` isinstance ` narrowing before accessing leaf
@@ -335,11 +327,9 @@ adapter module so older SDKs can still load the legacy leaf path.
335327
336328### Result caches
337329
338- The host includes ` semantic-null-filters-v2 ` in semantic result-cache keys. This
339- separates answers computed before NULL-preserving exclusions during rolling
340- deployment. Annotation cache context also includes this marker for every
341- datasource, so ordinary dataset charts with annotation layers rebuild their
342- cached results too. Keep this marker alongside metadata-generation cache keys.
330+ The host includes ` semantic-null-filters-v1 ` in semantic result-cache keys. This
331+ separates legacy answers during rolling deployment without flushing unrelated
332+ caches. Keep this protocol marker alongside any metadata-generation cache keys.
343333
344334Containment-cache identities use format ` v5 ` , separating grouped predicates from
345335older leaf-only entries during rolling upgrades. OR groups require identical
0 commit comments