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

Druid 31.0.0 release notes #17092

Open
wants to merge 30 commits into
base: 31.0.0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 24 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
59ec903
Druid 31.0.0 release notes
writer-jill Sep 17, 2024
ffeea03
Added most recent batch of release notes.
writer-jill Sep 26, 2024
d0f9cb1
Added #17024 to developer notes.
writer-jill Sep 26, 2024
2fe29ab
Added #16874
writer-jill Sep 26, 2024
cdbace5
Removed #16667 - Kashif says not user-facing change
writer-jill Sep 26, 2024
b4fb9a5
Updated after review
writer-jill Oct 2, 2024
1d17042
Updated after review
writer-jill Oct 2, 2024
b8652a0
fix typos
317brian Oct 3, 2024
e38af70
add dart blurb from druid blog
317brian Oct 3, 2024
762dda2
[Docs] Release notes from Oct 2 batch and from Milestone scrape (#74)
techdocsmith Oct 7, 2024
4eb68d9
docs: More release notes for Druid 31 (#73)
vtlim Oct 7, 2024
ed6f734
address comments
317brian Oct 7, 2024
2e11767
fixes and some new entries
317brian Oct 7, 2024
847e84b
Merge branch '31.0.0' into 31-release-notes
317brian Oct 7, 2024
9bf0b80
update highlights
317brian Oct 7, 2024
9cea3f5
Docs: more release notes for Druid 31 (#75)
ektravel Oct 7, 2024
ca129c4
fix link
317brian Oct 8, 2024
2bb0aa3
review comments
317brian Oct 8, 2024
ebc5e8c
fixes
317brian Oct 8, 2024
4f4f1ca
Druid 31 release notes updates (#76)
techdocsmith Oct 8, 2024
1ead3b2
fixes
317brian Oct 9, 2024
6449c97
fix typos
317brian Oct 9, 2024
6d9dfaa
[Docs] 31 web console rn (#77)
techdocsmith Oct 9, 2024
34a0876
fix typos
317brian Oct 9, 2024
5fd323a
Update docs/release-info/upgrade-notes.md
317brian Oct 10, 2024
f9e0e40
Merge branch '31.0.0' into 31-release-notes
317brian Oct 11, 2024
1207be3
add projections
317brian Oct 11, 2024
43c03db
add missing period
317brian Oct 15, 2024
cccba1a
fix typos
317brian Oct 15, 2024
a98b604
add 16291 to autocompaction stuff
317brian Oct 15, 2024
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
Binary file added docs/release-info/31.0_copy_results_as_sql.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
592 changes: 581 additions & 11 deletions docs/release-info/release-notes.md
317brian marked this conversation as resolved.
Show resolved Hide resolved

Large diffs are not rendered by default.

60 changes: 60 additions & 0 deletions docs/release-info/upgrade-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,66 @@ For more information, see [Migration guide: front-coded dictionaries](./migr-fro

If you're already using this feature, you don't need to take any action.

## 31.0.0

### Upgrade notes

#### Array ingest mode now defaults to array

MSQ ingestion context flag `arrayIngestMode` now defaults to `array` instead of `mvd`. This means that SQL `VARCHAR ARRAY` types is no longer implicitly translated and stored in `VARCHAR` columns, but is instead stored as `VARCHAR ARRAY`. This change permits other array types such as `BIGINT ARRAY` and `DOUBLE ARRAY` to be inserted with MSQ into their respective array column types instead of failing as they do in `mvd` mode.

To continue to store multi-value strings, modify any insert/replace queries to wrap the array types with the `ARRAY_TO_MV` operator.

Validation is in place to prevent mixing `VARCHAR` and `VARCHAR ARRAY` columns in the same table, so any ingestions affected by this change will fail and provide a descriptive error message instead of exhibiting unexpected behavior.

The `arrayIngestMode` option of `none` has been removed. It was introduced prior to the table validation logic as a means for cluster operators to force query writers to explicitly set `array` or `mvd` on their query contexts, but provides little utility in Druid 31.

See the following topics for more information:
* [Ingest multi-value dimensions](../querying/multi-value-dimensions.md#sql-based-ingestion) for how to ingest multi-value strings.
* [Ingest arrays](../querying/arrays.md#sql-based-ingestion) for ingesting arrays.
317brian marked this conversation as resolved.
Show resolved Hide resolved

[#16789](https://github.com/apache/druid/pull/16789)

#### Removed task action audit logging

The deprecated task action audit logging has been removed. This change includes the following updates:

- The endpoint `/indexer/v1/task/{taskId}/segments` is no longer supported.
- Druid doesn't write to or read from the metadata table `druid_taskLog`.
- Druid ignores the property `druid.indexer.auditlog.enabled`.
- Druid doesn't emit the metric `task/action/log/time`.

These changes are backward compatible with all existing metadata storage extensions.

[#16309](https://github.com/apache/druid/pull/16309)

#### Removed Firehose and FirehoseFactory

Removed Firehose and FirehoseFactory and remaining implementations.
Apache deprecated support for Druid firehoses in version 0.17. Support for firehose ingestion was removed in version 26.0.

[#16758](https://github.com/apache/druid/pull/16758)

### Incompatible changes

#### Removed the scan query legacy mode

The native scan query legacy mode has been removed. It was introduced in Druid 0.11 to maintain compatibility during an upgrade from older versions of Druid where the scan query was part of a `contrib` extension.

[#16659](https://github.com/apache/druid/pull/16659)

Hard-coded `"legacy":false` following removal of the legacy mode to prevent error during rolling upgrades or downgrades.

[#16793](https://github.com/apache/druid/pull/16793)

#### ZK-based segment loading

ZK-based segment loading is now disabled. ZK `servedSegmentsPath` was deprecated in Druid 0.7.1. This legacy path has been replaced by `liveSegmentsPath`.

Segment-serving processes such as Peons, Historicals and Indexers no longer create ZK `loadQueuePath` entries. The `druid.zk.paths.loadQueuePath` and `druid.zk.paths.servedSegmentsPath` properties are no longer used.

Move to HTTP-based segment loading first and then perform the version upgrade.
317brian marked this conversation as resolved.
Show resolved Hide resolved

## 30.0.0

### Upgrade notes
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/release-info/web-console-31-rn-dart.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions website/.spelling
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ Splunk
SqlParameter
SslContextFactory
StatsD
stateful
SYSTEM_TABLE
TaskRunner
TabItem
Expand All @@ -254,6 +255,7 @@ UTF8
XMLs
ZK
ZSTD
Axios
accessor
ad-hoc
aggregator
Expand Down Expand Up @@ -323,6 +325,7 @@ deserialization
deserialize
deserialized
deserializes
deserializing
downtimes
druid
druid–kubernetes-extensions
Expand All @@ -345,6 +348,7 @@ filterValue
firefox
firehose
firehoses
FirehoseFactory
fromPigAvroStorage
frontends
granularities
Expand Down Expand Up @@ -535,8 +539,10 @@ stdout
storages
stringDictionaryEncoding
stringified
structs
sub-conditions
subarray
submenu
subnet
subqueries
subquery
Expand Down Expand Up @@ -636,6 +642,7 @@ IS_NULLABLE
JDBC_TYPE
MIDDLE_MANAGER
MILLIS_TO_TIMESTAMP
NPE
NULLable
NUMERIC_PRECISION
NUMERIC_PRECISION_RADIX
Expand Down Expand Up @@ -711,6 +718,7 @@ total_size
useApproximateCountDistinct
useGroupingSetForExactDistinct
useApproximateTopN
UX
wikipedia
your-table
enableTimeBoundaryPlanning
Expand Down Expand Up @@ -1090,6 +1098,7 @@ reverseLoadingCacheSpec
OAuth
Okta
OpenID
OpenRewrite
pac4j
Env
POD_NAME
Expand Down Expand Up @@ -1222,6 +1231,8 @@ chunk2
stddev
t1
t2
v4
v5
variance1
variance2
varianceFold
Expand Down Expand Up @@ -1631,6 +1642,7 @@ un
5MB
64KiB
8GiB
GBs
G1GC
GroupBys
QoS-type
Expand Down Expand Up @@ -2203,6 +2215,7 @@ PiB
protobuf
Golang
multiValueHandling
multivalue
_n_
KLL
KllFloatsSketch
Expand Down
Loading