Ankit Sultana
02/06/2023, 11:42 PMselect * from table where col1 >= 10 and col2 = 'foo' and col3 = 'bar' and col4 < 20
Assuming col1, col4 have range indices and col2, col3 have inverted indices. Would the indices be picked based on the order of the filter conditions?Mayank
Mayank
Jackie
02/07/2023, 1:26 AMJackie
02/07/2023, 1:26 AMMayank
and don’t we evaluate in prioritized manner so that the output of more efficient filtering is fed into the next predicate?Jackie
02/07/2023, 1:30 AMRichard
02/08/2023, 2:09 PMRichard
02/08/2023, 2:10 PMRangeBitmap has overloads which take a RoaringBitmap 'context' to represent prior filtering state, but it's obviously not used because Pinot doesn't thread filtering context between operators