Skip to content

Commit 0a7faf9

Browse files
authored
Merge branch 'main' into dev-CALCITE-1466
2 parents ebaed66 + 63942a4 commit 0a7faf9

File tree

85 files changed

+929
-359
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+929
-359
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ jobs:
142142
name: 'Linux (JDK 11), Newest Guava'
143143
runs-on: ubuntu-latest
144144
env:
145-
GUAVA: 32.1.1-jre # newest supported Guava version
145+
GUAVA: 33.4.0-jre # newest supported Guava version
146146
steps:
147147
- name: 'Set up JDK 11'
148148
uses: actions/setup-java@v4
@@ -204,14 +204,14 @@ jobs:
204204
run: |
205205
./gradlew --no-parallel --no-daemon tasks build javadoc
206206
207-
linux-jdk22:
208-
name: 'Linux (JDK 22)'
207+
linux-jdk23:
208+
name: 'Linux (JDK 23)'
209209
runs-on: ubuntu-latest
210210
steps:
211-
- name: 'Set up JDK 22'
211+
- name: 'Set up JDK 23'
212212
uses: actions/setup-java@v4
213213
with:
214-
java-version: 22
214+
java-version: 23
215215
distribution: 'zulu'
216216
- uses: actions/checkout@v4
217217
with:

.github/workflows/publish-non-release-website-updates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Build site
3737
working-directory: site
3838
run: |
39-
docker compose run -e JEKYLL_UID=$(id -u) -e JEKYLL_GID=$(id -g) build-site
39+
docker compose run build-site
4040
- uses: actions/checkout@v4
4141
with:
4242
repository: apache/calcite-site

.github/workflows/publish-site-and-javadocs-on-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
- name: Build site
3030
working-directory: site
3131
run: |
32-
docker compose run -e JEKYLL_UID=$(id -u) -e JEKYLL_GID=$(id -g) build-site
32+
docker compose run build-site
3333
- name: Build javadoc
3434
working-directory: site
3535
run: |

LICENSE

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,3 +194,7 @@ site/_sass/_mixins.scss
194194
site/_sass/_pygments.scss
195195
* normalize:normalize:3.0.2
196196
site/_sass/_normalize.scss
197+
198+
SIL Open Font License
199+
* lato-fonts:lato
200+
site/_sass/_lato.scss

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Apache Calcite -- Avatica
2-
Copyright 2012-2024 The Apache Software Foundation
2+
Copyright 2012-2025 The Apache Software Foundation
33

44
This product includes software developed at
55
The Apache Software Foundation (http://www.apache.org/).

README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Apache Calcite Avatica release 1.25.0
1+
Apache Calcite Avatica release 1.26.0
22

33
# Overview
44
This is a source or binary distribution of Avatica, a framework for

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,7 @@ allprojects {
404404

405405
withType<JavaCompile>().configureEach {
406406
options.encoding = "UTF-8"
407+
options.compilerArgs.addAll(listOf("-Xlint:deprecation,-options", "-Werror"))
407408
}
408409
withType<Test>().configureEach {
409410
testLogging {

core/src/main/java/org/apache/calcite/avatica/BuiltInConnectionProperty.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import org.apache.calcite.avatica.ha.ShuffledRoundRobinLBStrategy;
2020
import org.apache.calcite.avatica.remote.AvaticaHttpClientFactoryImpl;
21-
import org.apache.calcite.avatica.remote.HostnameVerificationConfigurable.HostnameVerification;
2221

2322
import org.apache.hc.core5.util.Timeout;
2423

@@ -92,8 +91,13 @@ public enum BuiltInConnectionProperty implements ConnectionProperty {
9291
/** Password for the key inside keystore */
9392
KEY_PASSWORD("key_password", Type.STRING, "", false),
9493

95-
HOSTNAME_VERIFICATION("hostname_verification", Type.ENUM, HostnameVerification.STRICT,
96-
HostnameVerification.class, false),
94+
@SuppressWarnings("deprecation")
95+
HOSTNAME_VERIFICATION("hostname_verification", Type.ENUM,
96+
org.apache.calcite.avatica.remote.
97+
HostnameVerificationConfigurable.HostnameVerification.STRICT,
98+
org.apache.calcite.avatica.remote.
99+
HostnameVerificationConfigurable.HostnameVerification.class,
100+
false),
97101

98102
TRANSPARENT_RECONNECTION("transparent_reconnection", Type.BOOLEAN, Boolean.FALSE, false),
99103

core/src/main/java/org/apache/calcite/avatica/ConnectionConfig.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import org.apache.calcite.avatica.ha.LBStrategy;
2020
import org.apache.calcite.avatica.remote.AvaticaHttpClientFactory;
21-
import org.apache.calcite.avatica.remote.HostnameVerificationConfigurable.HostnameVerification;
2221
import org.apache.calcite.avatica.remote.Service;
2322

2423
import java.io.File;
@@ -64,7 +63,9 @@ public interface ConnectionConfig {
6463
/** @see BuiltInConnectionProperty#KEY_PASSWORD */
6564
String keyPassword();
6665
/** @see BuiltInConnectionProperty#HOSTNAME_VERIFICATION */
67-
HostnameVerification hostnameVerification();
66+
@SuppressWarnings("deprecation")
67+
org.apache.calcite.avatica.remote.
68+
HostnameVerificationConfigurable.HostnameVerification hostnameVerification();
6869
/** @see BuiltInConnectionProperty#TRANSPARENT_RECONNECTION */
6970
boolean transparentReconnectionEnabled();
7071
/** @see BuiltInConnectionProperty#FETCH_SIZE */

core/src/main/java/org/apache/calcite/avatica/ConnectionConfigImpl.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
import org.apache.calcite.avatica.ha.LBStrategy;
2020
import org.apache.calcite.avatica.remote.AvaticaHttpClientFactory;
21-
import org.apache.calcite.avatica.remote.HostnameVerificationConfigurable.HostnameVerification;
2221
import org.apache.calcite.avatica.remote.Service;
2322

2423
import java.io.File;
@@ -130,9 +129,12 @@ public String keyPassword() {
130129

131130
}
132131

133-
public HostnameVerification hostnameVerification() {
132+
@SuppressWarnings("deprecation")
133+
public org.apache.calcite.avatica.remote.
134+
HostnameVerificationConfigurable.HostnameVerification hostnameVerification() {
134135
return BuiltInConnectionProperty.HOSTNAME_VERIFICATION.wrap(properties)
135-
.getEnum(HostnameVerification.class);
136+
.getEnum(org.apache.calcite.avatica.remote.
137+
HostnameVerificationConfigurable.HostnameVerification.class);
136138
}
137139

138140
@Override public boolean transparentReconnectionEnabled() {

0 commit comments

Comments
 (0)