v0.3.1
- Check UCX and LSQL for backwards compatibility (#78). In this release, we introduce a new GitHub Actions workflow, downstreams.yml, which automates unit testing for downstream projects upon changes made to the upstream project. The workflow runs on pull requests, merge groups, and pushes to the main branch and sets permissions for id-token, contents, and pull-requests. It includes a compatibility job that runs on Ubuntu, checks out the code, sets up Python, installs the toolchain, and accepts downstream projects using the databrickslabs/sandbox/downstreams action. The job matrix includes two downstream projects, ucx and remorph, and uses the build cache to speed up the pip install step. This feature ensures that changes to the upstream project do not break compatibility with downstream projects, maintaining a stable and reliable library for software engineers.
- Fixed
Builder
object has no attributesdk_config
error (#86). In this release, we've resolved aBuilder
object has no attributesdk_config
error that occurred when initializing a Spark session using theDatabricksSession.builder
method. The issue was caused by using dot notation to access thesdk_config
attribute, which is incorrect. This has been updated to the correct syntax ofsdkConfig
. This change enables successful creation of the Spark session, preventing the error from recurring. TheDatabricksSession
class and its methods, such asgetOrCreate
, continue to be used for interacting with Databricks clusters and workspaces, while theWorkspaceClient
class manages Databricks resources within a workspace.
Dependency updates:
- Bump codecov/codecov-action from 1 to 4 (#84).
- Bump actions/setup-python from 4 to 5 (#83).
- Bump actions/checkout from 2.5.0 to 4.1.2 (#81).
- Bump softprops/action-gh-release from 1 to 2 (#80).
Contributors: @dependabot[bot], @nfx, @bishwajit-db, @william-conti