databricks Databricks Java SDK Releases · · 0.150.0

Databricks Java SDK v0.150.0 Enhances Unit Test Fixture Portability

sdkinfradatabricksengineer
patch

Databricks has released version 0.150.0 of its Java SDK, which includes internal changes designed to improve unit-test fixture portability. The `TestOSUtils.resource` utility now stages resources to a writable temporary directory if in-place modification is not feasible. This update allows unit tests to execute consistently across diverse build systems, including those not based on Maven, while preserving the existing in-place behavior for Maven environments.

Maintenance (1)
  • Make unit-test fixtures portable to non-Maven build layouts. TestOSUtils.resource now stages a resource to a writable temp directory when it cannot be chmod-ed in place (e.g. when served read-only from a jar), while keeping the existing in-place behavior for Maven's exploded target/test-classes. This lets the unit tests run unchanged under other build systems

Read the original announcement →

https://github.com/databricks/databricks-sdk-java/releases/tag/v0.150.0

Related releases