Apache Druid 28.0.0

Release date
November 15, 2023
Release type
Major
Java
Java 8u92+, 11 or 17 supported; Java 17 recommended

Highlights

  • SQL-compliant null handling, strict booleans and three-valued logic are the defaults.
  • Query from deep storage supports more result formats and broader access.
  • MSQ queries can read realtime task data, and MSQ supports UNION ALL.
  • One datasource can ingest from multiple Kafka topics.
  • Recommended SQL UNNEST syntax, plus experimental window functions and concurrent append and replace.

Upgrade notes and incompatible changes

  • The segments table needs the used_flag_last_updated column. Add it before the upgrade if Druid can't create it at startup.
  • Null and boolean results change. druid.generic.useDefaultValueForNull=true and druid.expressions.useStrictBooleans=false restore the old behavior for now.
  • json columns written by 28 can't be read below 26. Coming from below 26, upgrade to 26 first.
  • Stop supervisors that read multiple Kafka topics before a downgrade below 28.
  • Hadoop 2 is removed. Move to Hadoop 3 or to native ingestion first.
  • Broker merge configs move to druid.processing.merge.*; the old paths are deprecated.

Removals and deprecations

  • Removed: Hadoop 2, GroupBy v1, cachingCost strategy, decommissioningMaxPercentOfMaxSegmentsToMove, InsertCannotOrderByDescending.
  • Deprecated: lenientAggregatorMerge; use aggregatorMergeStrategy.

Upgrading to 28.0.0

From 27.x, update the segments table first. Then test queries against the new null and boolean behavior; the old settings still work in 28 but are removed in 32.0.0. From a version older than 26, upgrade to 26 first if you use json columns. Use 28.0.1 as the target, not 28.0.0. Read the upgrade notes for each skipped version. Deep.BI supports the Druid version you run and can help plan the upgrade.

Talk to a Druid engineer

Deep.BI supports the Druid version you run and can help plan the upgrade.