Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start process of deprecating non-sql compatible legacy configurations #15713

Merged

Conversation

clintropolis
Copy link
Member

Description

Starting the process to officially deprecate non SQL compatible modes by updating docs to aggressively call out that Druids non SQL compliant modes are deprecated and will go away someday. There are no code or behavior changes at this PR.

Dev list thread: https://lists.apache.org/thread/016nqtdbjlkfy3r5bnxc2d4rmt79237j


This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • a release note entry in the PR description.

changes:
* officially deprecate non SQL compatible modes by updating docs to aggressively call out that Druids non SQL compliant modes are deprecated and will go away someday
string. While the `COUNT(*)` aggregator counts all rows, the `COUNT(expr)` aggregator counts the number of rows
where `expr` is neither null nor the empty string. Numeric columns in this mode are not nullable; any null or missing
values are treated as zeroes. This was the default prior to Druid 28.0.0.
When `druid.generic.useDefaultValueForNull = true` (legacy), Druid treats NULLs and empty strings interchangeably,
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
When `druid.generic.useDefaultValueForNull = true` (legacy), Druid treats NULLs and empty strings interchangeably,
When `druid.generic.useDefaultValueForNull = true` (deprecated legacy mode), Druid treats NULLs and empty strings interchangeably,

@LakshSingla LakshSingla merged commit dad8398 into apache:master Feb 13, 2024
7 checks passed
LakshSingla pushed a commit to LakshSingla/druid that referenced this pull request Feb 13, 2024
…apache#15713)

Starting the process to officially deprecate non SQL compatible modes by updating docs to aggressively call out that Druids non SQL compliant modes are deprecated and will go away someday. There are no code or behavior changes at this PR.
LakshSingla added a commit that referenced this pull request Feb 13, 2024
…#15713) (#15895)

Starting the process to officially deprecate non SQL compatible modes by updating docs to aggressively call out that Druids non SQL compliant modes are deprecated and will go away someday. There are no code or behavior changes at this PR.

Co-authored-by: Clint Wylie <cwylie@apache.org>
@clintropolis clintropolis deleted the deprecate-non-sql-compatible-mode branch February 13, 2024 11:11
sreemanamala pushed a commit to sreemanamala/druid that referenced this pull request Feb 20, 2024
…apache#15713)

Starting the process to officially deprecate non SQL compatible modes by updating docs to aggressively call out that Druids non SQL compliant modes are deprecated and will go away someday. There are no code or behavior changes at this PR.
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.

None yet

3 participants