Fix indexMerger to respect the includeAllDimensions flag (#12428)
authorJihoon Son <jihoonson@apache.org>
Wed, 13 Apr 2022 19:43:11 +0000 (12:43 -0700)
committerGitHub <noreply@github.com>
Wed, 13 Apr 2022 19:43:11 +0000 (12:43 -0700)
commit5e5625f3ae9fa663697214f49e66b5c296d342fb
tree62288bdc2977055cee53780d1b4b75431962d03c
parentf24e9c68620e0e3ed81450f57081b8f75eeaac64
Fix indexMerger to respect the includeAllDimensions flag (#12428)

* Fix indexMerger to respect flag includeAllDimensions flag; jsonInputFormat should set keepNullColumns if useFieldDiscovery is set

* address comments
core/src/main/java/org/apache/druid/data/input/impl/JsonInputFormat.java
core/src/test/java/org/apache/druid/data/input/impl/JsonInputFormatTest.java
indexing-service/src/test/java/org/apache/druid/indexing/common/task/batch/parallel/HashPartitionMultiPhaseParallelIndexingWithNullColumnTest.java [deleted file]
indexing-service/src/test/java/org/apache/druid/indexing/common/task/batch/parallel/MultiPhaseParallelIndexingWithNullColumnTest.java [new file with mode: 0644]
indexing-service/src/test/java/org/apache/druid/indexing/common/task/batch/parallel/RangePartitionMultiPhaseParallelIndexingTest.java
processing/src/main/java/org/apache/druid/segment/IndexMergerV9.java