You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2022/10/07 11:18:29 UTC

[GitHub] [druid] abhishekagarwal87 commented on issue #13152: Unsatisfiable WHERE clause leads to exception instead of empty result

abhishekagarwal87 commented on issue #13152:
URL: https://github.com/apache/druid/issues/13152#issuecomment-1271460821

   I can't spot the `sorting` operation in the runner. The data from physical segments are already sorted by time. That ordering is used to decide if the data needs to be reversed. That's why we are only passing the `type of ordering (Asc/desc)` down the `makeCursors` call and not the columns on which to order by. Are you suggesting passing the columns to `makeCursors` and then doing the sorting in `RowBasedStorageAdapter`? 
   Or you are suggesting doing the sorting in the `createRunner` method itself? The former seems a simpler approach to implement. We will just materialize the rows into a list and sort the list. 


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org