Skip to content

fix NPE that can happen when merging all null nested v4 format columns#14068

Merged
clintropolis merged 2 commits intoapache:masterfrom
clintropolis:fix-nested-v4-format-again
Apr 12, 2023
Merged

fix NPE that can happen when merging all null nested v4 format columns#14068
clintropolis merged 2 commits intoapache:masterfrom
clintropolis:fix-nested-v4-format-again

Conversation

@clintropolis
Copy link
Member

@clintropolis clintropolis commented Apr 11, 2023

Description

Fixes another regression related to #14014, this time when processing all null or nonexistent columns with the 'json' (v4) format. Added a test to ensure that non-existent data is processed correctly, and tests for explicit 'auto' dimension schema with non-existent columns to ensure new common format also doesn't have any issues with non-existent columns.

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.

@clintropolis clintropolis added this to the 26.0 milestone Apr 11, 2023
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.

2 participants