You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by "gianm (via GitHub)" <gi...@apache.org> on 2026/07/30 23:32:06 UTC

[PR] fix: Cast for comparison for LONG + IN. (druid)

gianm opened a new pull request, #19834:
URL: https://github.com/apache/druid/pull/19834

   This patch fixes two places where plain coercion was used rather than cast-for-comparison:
   
   1) TypedInFilter, when creating a predicate for a LONG column against
      non-LONG user values.
   
   2) ScalarLongColumnAndIndexSupplier, when creating ValueIndexes against
      non-LONG user values.
   
   Prior to this patch, for example, the user value 10.5 would match the stored value 10.


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


Re: [PR] fix: Cast for comparison for LONG + IN. (druid)

Posted by "gianm (via GitHub)" <gi...@apache.org>.
gianm merged PR #19834:
URL: https://github.com/apache/druid/pull/19834


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