pub fn fingerprint_predicate(table_name: &str, expr: &Expression) -> u64Expand description
Compute a fingerprint for a predicate expression
The fingerprint captures the structure of the predicate but not the literal values. This allows the same correction factor to be applied to:
status = 'active'andstatus = 'pending'(same structure)
Different structures produce different fingerprints:
status = 'active'vsstatus = 'active' AND age > 30
Uses FxHasher which is 2-5x faster than SipHash for small keys.