clintropolis opened a new pull request, #14412:
URL: https://github.com/apache/druid/pull/14412

   Fixes #14339
   
   ### Description
   
   changes:
   * auto columns can now specialize the case when the column contains only 
constants, avoiding writing any real columns and just producing constant 
selectors and indexes. since this is backwards incompatible it is gated behind 
a flag on IndexSpec, optimizeJsonConstantColumns, which should be removed in 
Druid 28
   * auto columns no longer participate in generic 'null column' handling, this 
was a mistake to try to support and caused ingestion failures due to mismatched 
ColumnFormat, and is replaced by the new constant column functionality
   * fix bugs with auto columns which contain empty objects, empty arrays, or 
primitive types mixed with either of these empty constructs
   
   
   #### Release note
   TBD
   
   
   <hr>
   
   This PR has:
   
   - [ ] been self-reviewed.
      - [ ] using the [concurrency 
checklist](https://github.com/apache/druid/blob/master/dev/code-review/concurrency.md)
 (Remove this item if the PR doesn't have any relation to concurrency.)
   - [ ] added documentation for new or modified features or behaviors.
   - [ ] a release note entry in the PR description.
   - [ ] added Javadocs for most classes and all non-trivial methods. Linked 
related entities via Javadoc links.
   - [ ] added or updated version, license, or notice information in 
[licenses.yaml](https://github.com/apache/druid/blob/master/dev/license.md)
   - [ ] added comments explaining the "why" and the intent of the code 
wherever would not be obvious for an unfamiliar reader.
   - [ ] added unit tests or modified existing tests to cover new code paths, 
ensuring the threshold for [code 
coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md)
 is met.
   - [ ] added integration tests.
   - [ ] been tested in a test Druid cluster.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to