Skip to content

Release v3.0.7 - #1151

Merged
samikshya-db merged 2 commits into
databricks:mainfrom
gopalldb:3.0.7
Dec 18, 2025
Merged

samikshya-db merged 2 commits into
databricks:mainfrom
gopalldb:3.0.7

Conversation

@gopalldb

Copy link
Copy Markdown
Collaborator

Description

Release v3.0.7

Changes

This release includes:

Updated

  • Log timestamps now explicitly display timezone.
  • [Breaking Change] PreparedStatement.setTimestamp(int, Timestamp, Calendar) now properly applies Calendar timezone conversion using LocalDateTime pattern (inline with getTimestamp). Previously Calendar parameter was ineffective.
  • DatabaseMetaData.getColumns() with null catalog parameter now retrieves columns from all catalogs when using SQL Execution API, aligning the behaviour with thrift.
  • DatabaseMetaData.getFunctions() with null catalog parameter now retrieves columns from the current catalog when using SQL Execution API, aligning the behaviour with thrift.

Fixed

  • Fix timeout exception handling to throw SQLTimeoutException instead of DatabricksSQLException when queries timeout.
  • Removes dangerous global timezone modification that caused race conditions.
  • Fixed Statement.getLargeUpdateCount() to return -1 instead of throwing Exception when there were no more results or result is not an update count.
  • CVE-2025-66566. Updated lz4-java dependency to 1.10.1.
  • Fix INVALID_IDENTIFIER error when using catalog/schema/table names for SQL Exec API with hyphens or special characters in metadata operations (getSchemas(), getTables(), getColumns(), etc.) and connection methods (setCatalog(), setSchema()). Per Databricks identifier rules, special characters are now properly enclosed in backticks.
  • Fix Auth_Scope handling inconsistency in Azure U2M OAuth.

Testing

Version bump and release notes have been updated across all relevant files.

OVERRIDE_FREEZE=true

## Description
Release v3.0.7

## Changes
This release includes:

### Updated
- Log timestamps now explicitly display timezone.
- **[Breaking Change]** `PreparedStatement.setTimestamp(int, Timestamp, Calendar)` now properly applies Calendar timezone conversion using LocalDateTime pattern (inline with `getTimestamp`). Previously Calendar parameter was ineffective.
- `DatabaseMetaData.getColumns()` with null catalog parameter now retrieves columns from all catalogs when using SQL Execution API, aligning the behaviour with thrift.
- `DatabaseMetaData.getFunctions()` with null catalog parameter now retrieves columns from the current catalog when using SQL Execution API, aligning the behaviour with thrift.

### Fixed
- Fix timeout exception handling to throw `SQLTimeoutException` instead of `DatabricksSQLException` when queries timeout.
- Removes dangerous global timezone modification that caused race conditions.
- Fixed `Statement.getLargeUpdateCount()` to return -1 instead of throwing Exception when there were no more results or result is not an update count.
- CVE-2025-66566. Updated lz4-java dependency to 1.10.1.
- Fix `INVALID_IDENTIFIER` error when using catalog/schema/table names for SQL Exec API with hyphens or special characters in metadata operations (`getSchemas()`, `getTables()`, `getColumns()`, etc.) and connection methods (`setCatalog()`, `setSchema()`). Per Databricks identifier rules, special characters are now properly enclosed in backticks.
- Fix Auth_Scope handling inconsistency in Azure U2M OAuth.

## Testing
Version bump and release notes have been updated across all relevant files.

@samikshya-db samikshya-db left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit : update the readme too

@samikshya-db
samikshya-db merged commit 3ba2c33 into databricks:main Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants