Files
floci/src/main/java
TATSUNO “Taz” Yasuhiro 8b57546159 fix(dynamodb): lift the PartiQL overlap refusal when a branch tests a key outside a range (#6602)
* fix(dynamodb): lift the PartiQL overlap refusal when a branch tests a key outside a range

DynamoDB refuses a SELECT whose OR branches overlap on the sort key, but
not once a branch tests a key in a way no key condition can hold, such as
sk <> 'a', attribute_exists(sk) or NOT sk = 'a'. Every branch then runs
and the statement returns the union, each item once. A NOT lifts the
refusal only when it sits right on the test, and a NOT over size() never
does. Floci refused all of these as overlapping.

* chore(dynamodb): walk PartiQL condition leaves through one helper

The key plan had two walks over And, Or and Not that differed only in
the test on each leaf.
2026-10-26 07:38:57 -04:00
..