nozjkoitop commented on issue #18080: URL: https://github.com/apache/druid/issues/18080#issuecomment-3057848249
Hi @carltal druid does compare strings [char-by-char (lexicographic)](https://github.com/apache/druid/blob/406dbca6539904a92b321f6b9ddf3172efa14390/processing/src/main/java/org/apache/druid/query/filter/RangeFilter.java#L609) so basically it's calling String::compareTo You can try converting your strings into dates like: ``` "date" >= TIME_PARSE('2022-10-01T00:00') AND "date" < TIME_PARSE('2022-10-02T00:00') ``` -- 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-unsubscr...@druid.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org For additional commands, e-mail: commits-h...@druid.apache.org