v0.23.1
- Improved error handling for
migrate-tablesworkflows (#1674). This commit enhances the error handling formigrate-tablesworkflows by introducing new tests that cover specific scenarios where failures may occur during table migration. The changes include the creation of mock objects and injecting failures for theget_tables_to_migratemethod of theTableMappingclass. Three new tests have been added, each testing a specific scenario, including token errors when checking table properties, errors when trying to get properties for a non-existing table, and errors when trying to unset theupgraded_toproperty. The commit also asserts that specific error messages are logged during these failures. These improvements ensure better visibility and debugging capabilities during table migration. The code was manually tested, and unit tests were added and verified on a staging environment, ensuring that the new error handling mechanisms function as intended. - Improved error handling for all queries executed during table migration (#1679). This release includes improved error handling during table migration in our data workflow, resolving issue #167
- Removed dependency on internal
pathlibimplementations (#1672). In this release, we have introduced a new custom_DatabricksFlavorclass as a replacement for the internalpathlib._Flavorimplementations, specifically designed for the Databricks environment. This class handles various functionalities including separation of paths, joining and parsing of parts, and casefolding of strings, among others. Themake_urimethod has also been updated to generate the correct URI for the workspace. This change removes the dependency on internalpathlib._Flavorimplementations which were not available on Windows. As part of this change, thetest_wspath.pyfile in thetests/integration/mixinsdirectory has been updated, with thetest_existsandtest_mkdirsmethods being modified to reflect the removal of_Flavor. These updates improve the compatibility and reliability of the codebase on Windows systems. - Updated databricks-labs-blueprint requirement from ~=0.4.3 to >=0.4.3,<0.6.0 (#1670). In this update, we have adjusted the requirement for
databricks-labs-blueprintfrom version~=0.4.3to>=0.4.3,<0.6.0, ensuring the latest version can be installed while remaining below0.6.0. This change is part of issue #1670 and includes the release notes and changelog in the commit message, highlighting improvements and updates in version0.5.0. These enhancements consist of content assertion inMockInstallation, better handling of partial functions inparallel.Threads, and adjusted configurations aligned with the UCX project. The commit also covers various dependency updates and bug fixes, providing a more robust and efficient library experience for software engineers.
Dependency updates:
- Updated databricks-labs-blueprint requirement from ~=0.4.3 to >=0.4.3,<0.6.0 (#1670).
Contributors: @nkvuong, @dependabot[bot], @nfx, @JCZuurmond