Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/loggingTesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
mkdir -p target/test-classes

javac \
-cp "target/databricks-jdbc-1.0.5-oss.jar" \
-cp "target/databricks-jdbc-1.0.6-oss.jar" \
-d target/test-classes \
src/test/java/com/databricks/client/jdbc/LoggingTest.java

Expand All @@ -84,7 +84,7 @@ jobs:
OS_TYPE=$(uname | tr '[:upper:]' '[:lower:]')
if [[ "$OS_TYPE" == "linux" ]]; then SEP=":"; else SEP=";"; fi
echo "Using classpath separator: '$SEP'"
CP="target/test-classes${SEP}target/databricks-jdbc-1.0.5-oss.jar"
CP="target/test-classes${SEP}target/databricks-jdbc-1.0.6-oss.jar"

java \
--add-opens=java.base/java.nio=ALL-UNNAMED \
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Version Changelog

## [v1.0.6-oss] - 2025-05-29

### Added
- Support for fetching tables and views across all catalogs using SHOW TABLES FROM/IN ALL CATALOGS in the SQL Exec API.
- Support for Token Exchange in OAuth flows where in third party tokens are exchanged for InHouse tokens.
- Support for polling of statementStatus and sqlState for async SQL execution.
- Support for REAL, NUMERIC, CHAR, and BIGINT JDBC types in `PreparedStatement.setObject` method

### Fixed
- Added explicit null check for Arrow value vector when the value is not set and Arrow null checking is disabled.

---

## [v1.0.5-oss] - 2025-04-28

### Added
Expand Down
8 changes: 2 additions & 6 deletions NEXT_CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,13 @@
## [Unreleased]

### Added
- Support for fetching tables and views across all catalogs using SHOW TABLES FROM/IN ALL CATALOGS in the SQL Exec API.
- Support for Token Exchange in OAuth flows where in third party tokens are exchanged for InHouse tokens.
- Support for fetching schemas across all catalogs in the SQL Exec API client.
- Added support for polling of statementStatus and sqlState for async SQL execution.
-

### Updated
-

### Fixed
- Fix: unsupported data types in `setObject(int,Object,int targetSqlType)` method in PreparedStatement
- Fix: Added explicit null check for Arrow value vector when the value is empty, and Arrow null checking is disabled.
-

---
*Note: When making changes, please add your change under the appropriate section with a brief description.*
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Add the following dependency to your `pom.xml`:
<dependency>
<groupId>com.databricks</groupId>
<artifactId>databricks-jdbc</artifactId>
<version>1.0.5-oss</version>
<version>1.0.6-oss</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>com.databricks</groupId>
<artifactId>databricks-jdbc</artifactId>
<!-- This value may be modified by a release script to reflect the current version of the driver. -->
<version>1.0.5-oss</version>
<version>1.0.6-oss</version>
<packaging>jar</packaging>
<name>Databricks JDBC Driver</name>
<description>Databricks JDBC Driver.</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
public class DriverUtil {

private static final JdbcLogger LOGGER = JdbcLoggerFactory.getLogger(DriverUtil.class);
private static final String DRIVER_VERSION = "1.0.5-oss";
private static final String DRIVER_VERSION = "1.0.6-oss";
private static final String DRIVER_NAME = "oss-jdbc";
private static final String JDBC_VERSION = "4.3";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,7 @@ public void testGetDriverName() throws SQLException {
@Test
public void testGetDriverVersion() throws SQLException {
String result = metaData.getDriverVersion();
assertEquals("1.0.5-oss", result);
assertEquals("1.0.6-oss", result);
}

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
DatabricksConnectionContextFactory.create(CLUSTER_JDBC_URL, new Properties());
UserAgentManager.setUserAgent(connectionContext);
String userAgent = getUserAgentString();
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.5-oss"));
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.6-oss"));
assertTrue(userAgent.contains(" Java/THttpClient"));
assertTrue(userAgent.contains(" MyApp/version"));
assertTrue(userAgent.contains(" databricks-jdbc-http "));
Expand All @@ -29,7 +29,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
DatabricksConnectionContextFactory.create(WAREHOUSE_JDBC_URL, new Properties());
UserAgentManager.setUserAgent(connectionContext);
userAgent = getUserAgentString();
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.5-oss"));
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.6-oss"));
assertTrue(userAgent.contains(" Java/THttpClient"));
assertTrue(userAgent.contains(" MyApp/version"));
assertTrue(userAgent.contains(" databricks-jdbc-http "));
Expand All @@ -40,7 +40,7 @@ void testUserAgentSetsClientCorrectly() throws DatabricksSQLException {
DatabricksConnectionContextFactory.create(WAREHOUSE_JDBC_URL_WITH_SEA, new Properties());
UserAgentManager.setUserAgent(connectionContext);
userAgent = getUserAgentString();
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.5-oss"));
assertTrue(userAgent.contains("DatabricksJDBCDriverOSS/1.0.6-oss"));
assertTrue(userAgent.contains(" Java/SQLExecHttpClient"));
assertTrue(userAgent.contains(" databricks-jdbc-http "));
assertFalse(userAgent.contains("databricks-sdk-java"));
Expand Down
2 changes: 1 addition & 1 deletion uber-minimal-pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>com.databricks</groupId>
<artifactId>databricks-jdbc</artifactId>
<!-- This value may be modified by a release script to reflect the current version of the driver. -->
<version>1.0.5-oss</version>
<version>1.0.6-oss</version>
<packaging>jar</packaging>
<name>Databricks JDBC Driver</name>
<description>Databricks JDBC Driver.</description>
Expand Down
Loading