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

doc: minor fixes to migration guides #16784

Merged
merged 1 commit into from
Jul 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/release-info/migr-ansi-sql-null.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@ The default Druid configurations for 28.0.0 and later that enable ANSI SQL compa

Follow the [Null handling tutorial](../tutorials/tutorial-sql-null.md) to learn how the default null handling works in Druid.

## Legacy null handling and two-value logic
## Legacy null handling and two-valued logic

Prior to Druid 28.0.0, Druid defaulted to a legacy mode which stored default values instead of nulls.
In legacy mode, Druid created segments with the following characteristics at ingestion time:

- String columns couldn't distinguish an empty string, '', from null.
- String columns couldn't distinguish an empty string, `''`, from null.
Therefore, Druid treated them both as interchangeable values.
- Numeric columns couldn't represent null valued rows.
Therefore Druid stored 0 instead of null.
Therefore, Druid stored `0` instead of `null`.

The Druid configurations for the deprecated legacy mode were the following:

Expand Down
5 changes: 3 additions & 2 deletions website/sidebars.json
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,11 @@
"id": "release-info/migration-guide"
},
"items": [
"release-info/migr-mvd-array",
"release-info/migr-front-coded-dict",
"release-info/migr-subquery-limit",
"release-info/migr-ansi-sql-null",
"release-info/migr-mvd-array"
"release-info/migr-ansi-sql-null"

]
}
]},
Expand Down
Loading