Skip to content

add missing selectors for explicit null columns#12834

Merged
clintropolis merged 1 commit intoapache:masterfrom
clintropolis:null-column-vector-object-selector
Jul 30, 2022
Merged

add missing selectors for explicit null columns#12834
clintropolis merged 1 commit intoapache:masterfrom
clintropolis:null-column-vector-object-selector

Conversation

@clintropolis
Copy link
Member

Description

This PR adds some missing column selectors to NullColumnPartSerde used by explicit null columns (added in #12279). The VectorObjectSelector is used by many vector aggregators when they don't care to deal with dictionary id lookup, so this fixes issues when using these aggregators with explicit null columns. I'm not certain if the VectorValueSelector is actually used in practice, but went ahead and added it just in case.

This PR has:

  • been self-reviewed.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
  • been tested in a test Druid cluster.

Copy link
Member

@rohangarg rohangarg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@clintropolis clintropolis merged commit d96a9c1 into apache:master Jul 30, 2022
@clintropolis clintropolis deleted the null-column-vector-object-selector branch July 30, 2022 02:09
@abhishekagarwal87 abhishekagarwal87 added this to the 24.0.0 milestone Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants