dongxiaoman opened a new issue #6626: URL: https://github.com/apache/incubator-pinot/issues/6626
Right now if we write something like `SELECT * FROM fact WHERE primary_key_id in ('id1', 'id2', 'id3', .....'id10' ) and created_at in (ts1, ts2, ts3, ts4, ... ts10) LIMIT 2000` it is actually running slower than not passing in `created_at in (xxx....)` filter. But if we convert the `created_at in (xxx) ` into a range filter, it will run faster. Converted query is like below `SELECT * FROM fact WHERE primary_key_id in ('id1', 'id2', 'id3', .....'id10' ) and created_at <= 1614426347 and created_at >= 1614426293 LIMIT 2000` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org