Skip to content

Commit ca4d21b

Browse files
Release 1.0.11-oss (#1031)
## Description <!-- Provide a brief summary of the changes made and the issue they aim to address.--> ## Testing <!-- Describe how the changes have been tested--> ## Additional Notes to the Reviewer <!-- Share any additional context or insights that may help the reviewer understand the changes better. This could include challenges faced, limitations, or compromises made during the development process. Also, mention any areas of the code that you would like the reviewer to focus on specifically. -->
1 parent 0aaea69 commit ca4d21b

12 files changed

Lines changed: 32 additions & 22 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ If available, share redacted client side logs
2626
- OS: [e.g. Windows]
2727
- Java version [e.g. Java 21]
2828
- Java vendor [e.g. OpenJDK]
29-
- Driver Version [e.g. 1.0.10-oss]
29+
- Driver Version [e.g. 1.0.11-oss]
3030
- BI Tool (if used) [e.g. DBeaver]
3131
- BI Tool version (if applicable) [e.g. 24.3.5]
3232

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Version Changelog
22

3+
## [v1.0.11-oss] - 2025-10-06
4+
5+
### Added
6+
- Enabled direct results by default in SEA mode to improve latency for short and small queries.
7+
8+
### Updated
9+
- Telemetry data is now captured more efficiently and consistently due to enhancements in the log and connection close flush logic.
10+
- Updated Databricks SDK version to v0.65.0 (This is to fix OAuthClient to properly encode complex query parameters.)
11+
- Added IgnoreTransactions connection parameter to silently ignore transaction method calls.
12+
13+
### Fixed
14+
- Fixed state leaking issue in thrift client.
15+
- Fixed timestamp values returning only milliseconds instead of the full nanosecond precision.
16+
- Fixed Statement.getUpdateCount() for DML queries.
17+
---
18+
319
## [v1.0.10-oss] - 2025-09-18
420
### Added
521
- **Query Tags support**: Added ability to attach key-value tags to SQL queries for analytical purposes that would appear in `system.query.history` table. Example: `jdbc:databricks://host;QUERY_TAGS=team:marketing,dashboard:abc123`. (This feature is in [private preview](https://docs.databricks.com/aws/en/release-notes/release-types#:~:text=Private%20Preview-,Invite%20only,-No))

NEXT_CHANGELOG.md

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,9 @@
33
## [Unreleased]
44

55
### Added
6-
- Enabled direct results by default in SEA mode to improve latency for short and small queries.
6+
77
### Updated
8-
- Telemetry data is now captured more efficiently and consistently due to enhancements in the log and connection close flush logic.
9-
- Updated Databricks SDK version to v0.65.0 (This is to fix OAuthClient to properly encode complex query parameters.)
10-
- Added IgnoreTransactions connection parameter to silently ignore transaction method calls.
118

129
### Fixed
13-
- Fixed state leaking issue in thrift client.
14-
- Fixed timestamp values returning only milliseconds instead of the full nanosecond precision.
15-
- Fixed Statement.getUpdateCount() for DML queries.
1610
---
1711
*Note: When making changes, please add your change under the appropriate section with a brief description.*

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Add the following dependency to your `pom.xml`:
2020
<dependency>
2121
<groupId>com.databricks</groupId>
2222
<artifactId>databricks-jdbc</artifactId>
23-
<version>1.0.10-oss</version>
23+
<version>1.0.11-oss</version>
2424
</dependency>
2525
```
2626

@@ -29,11 +29,11 @@ Add the following dependency to your `pom.xml`:
2929
For applications requiring explicit dependency management, use the thin JAR variant:
3030

3131
```xml
32-
<!-- Note: Available from version 1.0.10-oss onwards -->
32+
<!-- Note: Available from version 1.0.11-oss onwards -->
3333
<dependency>
3434
<groupId>com.databricks</groupId>
3535
<artifactId>databricks-jdbc-thin</artifactId>
36-
<version>1.0.10-oss</version>
36+
<version>1.0.11-oss</version>
3737
</dependency>
3838
```
3939

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<groupId>com.databricks</groupId>
66
<artifactId>databricks-jdbc</artifactId>
77
<!-- This value may be modified by a release script to reflect the current version of the driver. -->
8-
<version>1.0.10-oss</version>
8+
<version>1.0.11-oss</version>
99
<packaging>jar</packaging>
1010
<name>Databricks JDBC Driver</name>
1111
<description>Databricks JDBC Driver.</description>

src/main/java/com/databricks/jdbc/common/util/DriverUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
public class DriverUtil {
2121

2222
private static final JdbcLogger LOGGER = JdbcLoggerFactory.getLogger(DriverUtil.class);
23-
private static final String DRIVER_VERSION = "1.0.10-oss";
23+
private static final String DRIVER_VERSION = "1.0.11-oss";
2424
private static final String DRIVER_NAME = "oss-jdbc";
2525
private static final String JDBC_VERSION = "4.3";
2626

src/test/java/com/databricks/jdbc/api/impl/DatabricksDatabaseMetaDataTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -813,7 +813,7 @@ public void testGetDriverName() throws SQLException {
813813
@Test
814814
public void testGetDriverVersion() throws SQLException {
815815
String result = metaData.getDriverVersion();
816-
assertEquals("1.0.10-oss", result);
816+
assertEquals("1.0.11-oss", result);
817817
}
818818

819819
@Test

src/test/java/com/databricks/jdbc/common/safe/DatabricksDriverFeatureFlagsContextTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class DatabricksDriverFeatureFlagsContextTest {
3737
@Mock private ObjectMapper objectMapperMock;
3838
private static final String FEATURE_FLAG_NAME = "featureFlagName";
3939
private static final String FEATURE_FLAGS_ENDPOINT =
40-
"https://test-host/api/2.0/connector-service/feature-flags/OSS_JDBC/1.0.10";
40+
"https://test-host/api/2.0/connector-service/feature-flags/OSS_JDBC/1.0.11";
4141

4242
private DatabricksDriverFeatureFlagsContext context;
4343

src/test/java/com/databricks/jdbc/common/util/DriverUtilTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ public class DriverUtilTest {
1414
public void testGetDriverVersion() {
1515
String version = DriverUtil.getDriverVersion();
1616
assertNotNull(version);
17-
assertEquals("1.0.10-oss", version);
17+
assertEquals("1.0.11-oss", version);
1818
}
1919

2020
@Test
2121
public void testGetDriverVersionWithoutOSSSuffix() {
2222
String version = DriverUtil.getDriverVersionWithoutOSSSuffix();
2323
assertNotNull(version);
24-
assertEquals("1.0.10", version);
24+
assertEquals("1.0.11", version);
2525
}
2626

2727
@Test

src/test/java/com/databricks/jdbc/common/util/UserAgentManagerTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
8484
DatabricksConnectionContextFactory.create(CLUSTER_JDBC_URL, new Properties());
8585
UserAgentManager.setUserAgent(connectionContext);
8686
String userAgent = getUserAgentString();
87-
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.10-oss"));
87+
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.11-oss"));
8888
assertTrue(userAgent.contains(" Java/THttpClient"));
8989
assertTrue(userAgent.contains(" MyApp/version"));
9090
assertTrue(userAgent.contains(" databricks-jdbc-http "));
@@ -95,7 +95,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
9595
DatabricksConnectionContextFactory.create(WAREHOUSE_JDBC_URL, new Properties());
9696
UserAgentManager.setUserAgent(connectionContext);
9797
userAgent = getUserAgentString();
98-
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.10-oss"));
98+
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.11-oss"));
9999
assertTrue(userAgent.contains(" Java/THttpClient"));
100100
assertTrue(userAgent.contains(" MyApp/version"));
101101
assertTrue(userAgent.contains(" databricks-jdbc-http "));
@@ -106,7 +106,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
106106
DatabricksConnectionContextFactory.create(WAREHOUSE_JDBC_URL_WITH_SEA, new Properties());
107107
UserAgentManager.setUserAgent(connectionContext);
108108
userAgent = getUserAgentString();
109-
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.10-oss"));
109+
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.11-oss"));
110110
assertTrue(userAgent.contains(" Java/SQLExecHttpClient"));
111111
assertTrue(userAgent.contains(" databricks-jdbc-http "));
112112
assertFalse(userAgent.contains("databricks-sdk-java"));

0 commit comments

Comments
 (0)