Skip to content

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

Merged
LakshSingla merged 3 commits intoapache:masterfrom
clintropolis:deprecate-non-sql-compatible-mode
Feb 13, 2024
Merged

start process of deprecating non-sql compatible legacy configurations#15713
LakshSingla merged 3 commits intoapache:masterfrom
clintropolis:deprecate-non-sql-compatible-mode

Conversation

@clintropolis
Copy link
Copy Markdown
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
Comment thread docs/querying/sql-data-types.md Outdated
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
Copy Markdown
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
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.

3 participants