Skip to content

Fix distinct aggregation input filtering when input mask has nulls#9265

Merged
martint merged 1 commit intotrinodb:masterfrom
pettyjamesm:distinct-accumulator-null-mask
Sep 16, 2021
Merged

Fix distinct aggregation input filtering when input mask has nulls#9265
martint merged 1 commit intotrinodb:masterfrom
pettyjamesm:distinct-accumulator-null-mask

Conversation

@pettyjamesm
Copy link
Copy Markdown
Member

@pettyjamesm pettyjamesm commented Sep 16, 2021

Similar to #2267, distinct accumulators were not checking for nulls in their input masks, which might allow null positions to pass the filter check incorrectly.

Comparable changes to prestodb/presto#16747

@cla-bot cla-bot bot added the cla-signed label Sep 16, 2021
@pettyjamesm pettyjamesm requested a review from martint September 16, 2021 16:26
@pettyjamesm pettyjamesm force-pushed the distinct-accumulator-null-mask branch from 178c5e5 to 890c2fe Compare September 16, 2021 17:05
Similar to trinodb#2267 the distinct
accumulator filtering checks were not checking for nulls in the
input mask rows.
@pettyjamesm pettyjamesm force-pushed the distinct-accumulator-null-mask branch from 890c2fe to 6d34fd7 Compare September 16, 2021 17:24
@pettyjamesm pettyjamesm changed the title Check distinct mask for nulls in GenericAccumulatorFactory filter Fix distinct aggregation input filtering when input mask has nulls Sep 16, 2021
@martint martint merged commit f1d566b into trinodb:master Sep 16, 2021
@martint martint added this to the 362 milestone Sep 16, 2021
@pettyjamesm pettyjamesm deleted the distinct-accumulator-null-mask branch September 16, 2021 22:08
@martint martint mentioned this pull request Sep 16, 2021
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants