KipData / FnckSQL

SQL as a Function for Rust
Apache License 2.0
567 stars 48 forks source link

Perf: Composite Index Range Detach optimization #155

Closed KKould closed 8 hours ago

KKould commented 8 months ago

Feature Request

TODO: When the case is select * from t1 where (c1 = 7 or c1 = 10) and c2 < 2;, the range is (-inf, (10, 2)), in fact it is better to be ((7), (7) ,2)), ((10), (10, 2))

on pr: https://github.com/KipData/FnckSQL/pull/154 TODO part