Skip to content

Conversation

@gianm
Copy link
Contributor

@gianm gianm commented Apr 14, 2025

This patch encodes an assumption around nulls-first ordering, rather than branching into the "custom type" code path. Fixes a bug where equalTo, greaterThan, and lessThan having specs would throw null-pointer exceptions when used with first/last aggregators that return nulls.

This patch also switches error handling to DruidException and adds defensive checks.

This encodes an assumption around nulls-first ordering, rather than
branching into the "custom type" code path. Fixes a bug where equalTo,
greaterThan, and lessThan having specs would throw null-pointer exceptions
when used with first/last aggregators that return nulls.

This patch also switches error handling to DruidException and adds
defensive checks.
@gianm gianm added the Bug label Apr 14, 2025
@cryptoe cryptoe merged commit 2208a8c into apache:master Apr 15, 2025
74 checks passed
@gianm gianm deleted the fix-havingspec-comparator branch April 15, 2025 11:58
@capistrant capistrant added this to the 34.0.0 milestone Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants