|
| 1 | +--- |
| 2 | +layout: news_item |
| 3 | +date: "2025-05-28 08:00:00 +0000" |
| 4 | +author: asolimando |
| 5 | +version: 1.40.0 |
| 6 | +categories: [release] |
| 7 | +tag: v1-40-0 |
| 8 | +sha: e2e77aaf172ce997b92a9e574b5fcf77a6dc297a |
| 9 | +--- |
| 10 | +<!-- |
| 11 | +{% comment %} |
| 12 | +Licensed to the Apache Software Foundation (ASF) under one or more |
| 13 | +contributor license agreements. See the NOTICE file distributed with |
| 14 | +this work for additional information regarding copyright ownership. |
| 15 | +The ASF licenses this file to you under the Apache License, Version 2.0 |
| 16 | +(the "License"); you may not use this file except in compliance with |
| 17 | +the License. You may obtain a copy of the License at |
| 18 | +
|
| 19 | +http://www.apache.org/licenses/LICENSE-2.0 |
| 20 | +
|
| 21 | +Unless required by applicable law or agreed to in writing, software |
| 22 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 23 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 24 | +See the License for the specific language governing permissions and |
| 25 | +limitations under the License. |
| 26 | +{% endcomment %} |
| 27 | +--> |
| 28 | + |
| 29 | +The [Apache Calcite PMC]({{ site.baseurl }}) is pleased to announce |
| 30 | +[Apache Calcite release 1.40.0]({{ site.baseurl }}/docs/history.html#v1-40-0). |
| 31 | + |
| 32 | +This release comes 2 months after [1.39.0](#v1-39-0), |
| 33 | +contains contributions from 20 contributors, and resolves 102 issues. |
| 34 | + |
| 35 | +Highlights include |
| 36 | +the addition of several improvements and additional optimization rules, notably advanced set operation handling with new rules for converting `INTERSECT` to semi-joins and `EXISTS` subqueries, `MINUS` to anti-joins and filters, and optimizing `UNION`s with common sources, |
| 37 | +join optimization is improved through predicate expansion from disjunctions and specialized handling of complex join conditions, |
| 38 | +additional optimizations include new rules for `MIN`/`MAX` aggregates and smarter filter-sort interactions, |
| 39 | +addition of Doris, DuckDB, SQLite, and Trino dialects, as well as improved support for ClickHouse, |
| 40 | +support for aliases referencing lateral columns, |
| 41 | +support for defining which rule sets to apply for individual Quidem tests. |
0 commit comments