|
| 1 | +# Databricks JDBC Driver v1.0.4 Release Notes |
| 2 | + |
| 3 | +We're excited to announce the release of Databricks JDBC Driver v1.0.4. This release includes important new connection parameters, SDK updates, and several bug fixes to improve stability and security. |
| 4 | + |
| 5 | +## What's New in v1.0.4 |
| 6 | + |
| 7 | +### Added Features |
| 8 | +- **Connection Parameters** |
| 9 | + - Support for connection parameter `SocketTimeout` |
| 10 | + - Handle server returned Thrift version as part of open session response gracefully |
| 11 | + - Added OWASP security check in the repository |
| 12 | + |
| 13 | +### Updated |
| 14 | +- Updated SDK to the latest version (0.44.0) |
| 15 | +- Add descriptive messages in thrift error scenario |
| 16 | + |
| 17 | +### Fixed Issues |
| 18 | +- `BigDecimal` is now set correctly to `NULL` if null value is provided |
| 19 | +- Fixed issue with JDBC URL not being parsed correctly when compute path is provided via properties |
| 20 | +- Addressed CVE vulnerabilities (CVE-2024-47535, CVE-2025-25193, CVE-2023-33953) |
| 21 | +- Fix bug in `preparedStatement` decimal parameter in thrift flow |
| 22 | + |
| 23 | +## Previous Release: v1.0.3 |
| 24 | + |
| 25 | +### Added Features |
| 26 | +- **Timeout Management** |
| 27 | + - Introduces a centralized timeout check and automatic cancellation for statements |
| 28 | + |
| 29 | +- **Connection Parameters** |
| 30 | + - Allows specifying a default size for `STRING` columns (set to 255 by default) via `defaultStringColumnLength` connection parameter |
| 31 | + - Allows adjusting the number of rows retrieved in each fetch operation for better performance via `RowsFetchedPerBlock` parameter |
| 32 | + - Allows overriding the default OAuth redirect port (8020) with a single port or comma-separated list of ports using `OAuth2RedirectUrlPort` |
| 33 | + - Support for custom headers in the JDBC URL via `http.header.<key>=<value>` connection parameter |
| 34 | + |
| 35 | +- **Retry and Performance** |
| 36 | + - Implements a custom retry strategy to handle long-running tasks and connection attempts |
| 37 | + - Adds existence checks for volumes, objects, and prefixes to improve operational coverage |
| 38 | + |
| 39 | +- **Authentication** |
| 40 | + - Added support for Azure Managed Identity based authentication |
| 41 | + |
| 42 | +### Updated |
| 43 | +- Removes the hard-coded default poll interval configuration in favor of a user-defined parameter for greater flexibility |
| 44 | +- Adjusts the handling of `NULL` and non-`NULL` boolean values |
| 45 | + |
| 46 | +### Fixed Issues |
| 47 | +- Ensures the driver respects the configured limit on the number of rows returned |
| 48 | +- Improves retry behaviour to cover all operations, relying solely on the total retry time specified via the driver URL parameter |
| 49 | +- Returns an exception instead of `-1` when a column is not found |
| 50 | + |
| 51 | +## Previous Release: v1.0.2 |
| 52 | + |
| 53 | +### Fixed Issues |
| 54 | +- Fixed `columnType` conversion for `Variant` and `Timestamp_NTZ` types |
| 55 | +- Fixed minor issue for string handling with whitespaces |
| 56 | + |
| 57 | +## Previous Release: v1.0.1 |
| 58 | + |
| 59 | +### Added Features |
| 60 | +- **Enhanced Data Type Support** |
| 61 | + - Support for complex data types, including `MAP`, `ARRAY`, and `STRUCT` |
| 62 | + - Support for `TIMESTAMP_NTZ` and `VARIANT` data types |
| 63 | + |
| 64 | +- **Extended Prepared Statement Support** |
| 65 | + - Improved support for prepared statements when using Thrift DBSQL/all-purpose clusters |
| 66 | + |
| 67 | +- **Performance Optimizations** |
| 68 | + - Improved driver performance for large queries by optimizing chunk handling |
| 69 | + - Configurable HTTP connection pool size for better resource management |
| 70 | + |
| 71 | +- **Authentication Enhancements** |
| 72 | + - Support for Azure Active Directory (AAD) Service Principal in M2M OAuth |
| 73 | + - Implemented `java.sql.Driver#getPropertyInfo` to fetch driver properties |
| 74 | + |
| 75 | +### Updated |
| 76 | +- Set Thrift mode as the default for the driver |
| 77 | +- Improved driver telemetry (opt-in feature) for better monitoring and debugging |
| 78 | +- Enhanced test infrastructure to improve accuracy and reliability |
| 79 | +- Added SQL state support in SEA mode |
| 80 | +- Changes to JDBC URL parameters (to ensure compatibility with the latest Databricks driver): |
| 81 | + 1. Removed `catalog` in favour of `ConnCatalog` |
| 82 | + 2. Removed `schema` in favour of `ConnSchema` |
| 83 | + 3. Renamed `OAuthDiscoveryURL` to `OIDCDiscoveryEndpoint` |
| 84 | + 4. Renamed `OAuth2TokenEndpoint` to `OAuth2ConnAuthTokenEndpoint` |
| 85 | + 5. Renamed `OAuth2AuthorizationEndPoint` to `OAuth2ConnAuthAuthorizeEndpoint` |
| 86 | + 6. Renamed `OAuthDiscoveryMode` to `EnableOIDCDiscovery` |
| 87 | + 7. Renamed `OAuthRefreshToken` to `Auth_RefreshToken` |
| 88 | + |
| 89 | +### Fixed Issues |
| 90 | +- Ensured `TIMESTAMP` columns are returned in local time |
| 91 | +- Resolved inconsistencies in schema and catalog retrieval from the `Connection` class |
| 92 | +- Fixed minor issues with metadata fetching in Thrift mode |
| 93 | +- Addressed incorrect handling of access tokens provided via client info |
| 94 | +- Corrected the driver version reported by `DatabaseMetaData` |
| 95 | +- Fixed case-sensitive behaviour while fetching client info |
| 96 | + |
| 97 | +## Documentation |
| 98 | + |
| 99 | +For detailed information about the Databricks JDBC Driver, please refer to our [official documentation](https://docs.databricks.com/sql/jdbc-odbc-drivers.html). |
| 100 | + |
| 101 | +## Feedback |
| 102 | + |
| 103 | +Your feedback is important to us. If you encounter any issues or have suggestions for improvement, please [submit an issue](https://github.com/databricks/databricks-jdbc/issues) on our GitHub repository. |
0 commit comments