-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
Description
IN and NOT_IN operation has several caveats
- it can be compiled into Sarg range search for example
floatField NOT IN (3, 5)-->Sarg{(-INF, 3) OR (3, 5) OR (5, +INF)}intField IN(1,2,3,4,10,11)-->Sarg{[1,4] OR [10,11]}
- it should be compiled without range search as non-range operation (just IN(field, literal_array) and NOT_IN(field, literal_array))
- currently it is not possible b/c SqlToRelConverter will always convert it into or. see:
SqlToRelConverter#convertInToOr
- currently it is not possible b/c SqlToRelConverter will always convert it into or. see:
Because --> not all range searches are efficient in Pinot, this post a problem
Reactions are currently unavailable