gianm opened a new pull request, #17871: URL: https://github.com/apache/druid/pull/17871
It is possible for toQueryGranularity to return nonnull for BIGINT rhs, in the case where the time floor expression is wrapped in TIMESTAMP_TO_MILLIS. Prior to this patch, that would throw an (incorrect) error about expecting a literal. This patch fixes the defensive error to have the correct message (in Calcites) and also fixes the filter translation code to not hit that defensive check (in Expressions). -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
