clintropolis opened a new pull request, #14792:
URL: https://github.com/apache/druid/pull/14792
Partially satisfies #14154.
### Description
I think #14142 was the only real roadblock to making SQL compatible mode be
the default mode, so with that merged, I think it is finally time. I think this
should be merged as a pair in the same release that adds #14734, so we do the
behavior changes all at once, but the end result will be a much more well
behaved Druid SQL queries out of the box.
#### Release note
SQL compatible null handling mode is now enabled by default in Druid 28.0.0!
This setting, `druid.generic.useDefaultValueForNull`, is now set to `false` by
default in the code, so if not explicitly configured in runtime.properties,
upon upgrade clusters will take on new behavior with how Druid handles null
values during ingestion and query processing. If you wish to retain the
existing behavior, you must explicitly configure this to `true`. Any segments
written in the new default mode can still be read correctly in the classic
mode, at query time the null values will be ignored or coerced to zeros as
appropriate.
<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]