walterddr commented on issue #7786: URL: https://github.com/apache/pinot/issues/7786#issuecomment-973656952
> E.g. date time is stored as `STRING` but ordered as time value, the following query will fail because it will still filter with string order: `SELECT * FROM myTable WHERE timeCol < '11182021'` This query will match time value `01012022`. > > Because of this behavior, we should definitely validate the time format to ensure the time ordering is the same as data type ordering. Well in that case yeah. I don't see a better solution. But I still think we need some sort of automated solution instead of relying on the user to safe guard this -- 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...@pinot.apache.org 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