317brian commented on code in PR #17641: URL: https://github.com/apache/druid/pull/17641#discussion_r1925914695
########## docs/release-info/release-notes.md: ########## @@ -57,40 +57,264 @@ For tips about how to write a good release note, see [Release notes](https://git This section contains important information about new and existing features. +### ANSI-SQL compatibility and query results + +Support for the configs that let you maintain older behavior that wasn't ANSI-SQL compliant have been removed: + +- `druid.generic.useDefaultValueForNull=true` +- `druid.expressions.useStrictBooleans=false` +- `druid.generic.useThreeValueLogicForNativeFilters=false` + +They no longer affect your query results. Only SQL-compliant non-legacy behavior is supported now. + +If the configs are set to the legacy behavior, Druid services will fail to start. + +If you want to continue to get the same results without these settings, you must update your queries or your results will be incorrect after you upgrade. + +For more information about how to update your queries, see the [migration guide](https://druid.apache.org/docs/latest/release-info/migr-ansi-sql-null). + +[#17568](https://github.com/apache/druid/pull/17568) [#17609](https://github.com/apache/druid/pull/17609) + +### Java support + +Java support in Druid has been updated: + +- Java 8 support has been removed +- Java 11 support is deprecated + +We recommend that you upgrade to Java 17. + +[#17466](https://github.com/apache/druid/pull/17466) + +### Hadoop-based ingestion + +Hadoop-based ingestion is now deprecated. We recommend that you migrate to SQL-based ingestion. f + +### New Overlord APIs + +APIs for marking segments as used or unused have been moved from the Coordinator to the Overlord service: + +- Mark all segments of a datasource as unused: +`POST /druid/indexer/v1/datasources/{dataSourceName}` + +- Mark all (non-overshadowed) segments of a datasource as used: +`DELETE /druid/indexer/v1/datasources/{dataSourceName}` + +- Mark multiple segments as used +`POST /druid/indexer/v1/datasources/{dataSourceName}/markUsed` +- Mark multiple (non-overshadowed) segments as unused +`POST /druid/indexer/v1/datasources/{dataSourceName}/markUnused` + +- Mark a single segment as used: +`POST /druid/indexer/v1/datasources/{dataSourceName}/segments/{segmentId}` + +- Mark a single segment as unused: +`DELETE /druid/indexer/v1/datasources/{dataSourceName}/segments/{segmentId}` + +[#17545](https://github.com/apache/druid/pull/17545) + + +### 17386 Review Comment: Yeah, I need some help understanding the PR -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
