Files
scylladb/cql3
Nadav Har'El 33dce2b7fc Merge 'cql3: statement_restrictions: continue exploitation of predicate work' from Avi Kivity
In 6165124fcc, we changed analysis of expressions in the WHERE clause
to use predicates, an annotated form of an expression that constrains a column
when the expression is set to true.

Here, we exploit this work to simplify the analysis further, reusing already computed
attributes rather than re-analyzing the expression.

Not backporting, this is a refactor with no functional change and no bugs fixed.

Closes scylladb/scylladb#30049

* github.com:scylladb/scylladb:
  cql3: statement_restrictions: simplify find_idx to return only the index
  cql3: statement_restrictions: replace has_only_eq_binops with tracked booleans
  cql3: statement_restrictions: use index-selection predicates for value_for_index_partition_key
  cql3: statement_restrictions: replace find_clustering_order with predicate order field
  cql3: statement_restrictions: replace has_partition_token with variant check
  cql3: statement_restrictions: replace has_slice with predicate is_slice check
  cql3: statement_restrictions: replace contains_multi_column_restriction filter with _has_multi_column
  cql3: statement_restrictions: remove unused find_needs_filtering and has_slice_or_needs_filtering
  cql3: statement_restrictions: replace has_slice_or_needs_filtering with tracked bool
  cql3: statement_restrictions: replace contains_multi_column_restriction with _has_multi_column
  cql3: statement_restrictions: replace find_needs_filtering with predicate op check
  cql3: statement_restrictions: replace find_binop is_on_collection with tracked bool
  cql3: statement_restrictions: replace find_binop column extraction with predicate on field
  cql3: statement_restrictions: set op on all binary-operator-derived predicates
2026-05-31 23:22:43 +03:00
..
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00
2026-04-12 19:46:33 +03:00