v0.19.0
- Added instance pool id to WorkspaceConfig (#1087). In this release, the
createmethod of the_policy_installerobject has been updated to return an additional value,instance_pool_id, which is then assigned and passed as an argument to theWorkspaceConfigobject in the_configure_new_installationmethod. TheClusterPolicyInstallerclass in thev0.15.0_added_cluster_policy.pyfile has also been updated to return a fourth value,instance_pool_id, from thecreatemethod, allowing for more flexibility in future enhancements. Additionally, the test functiontest_table_migration_jobin thetest_installation.pyfile has been updated to skip when the script is not being run as part of a nightly test job or in debug mode, and the test functions in thetest_policy.pyfile have been updated to reflect the new return value in thecreatemethod. These changes enable better management and scaling of resources through instance pools, provide more granular control in the WorkspaceConfig, and improve testing efficiency. - Added more cross-linking between CLI commands (#1091). In this release, we have introduced several enhancements to our open-source library's Command Line Interface (CLI) and documentation. Specifically, we have added more cross-linking between CLI commands to improve navigation and usability. The documentation has been updated to include a new step in the UCX installation process, where users are required to run the assessment workflow after installing UCX. This workflow is the first step in the migration process and checks the compatibility of the user's workspace with Unity Catalog. Additionally, we have added new commands for principal-prefix-access, migrate-credentials, and migrate-locations, which are part of the table migration process. These new commands require the assessment workflow and group migration workflow to be completed before they can be executed. Overall, these changes aim to provide a more streamlined and detailed installation and migration process, improving the user experience for software engineers.
- Fixed command references in README.md (#1093). In this release, we have made improvements to the command references in the README.md file to enhance the overall readability and usability of the documentation for software engineers. Specifically, we have updated the links for the
migrate-locationsandvalidate_external_locationscommands to use the correct syntax, enclosing them in backticks to denote code. This change ensures that the links are correctly interpreted as commands and addresses any issues that may have arisen with their previous formatting. It is important to note that no new methods have been added in this release, and the existing functionality of the commands has not been changed in scope or functionality. - Fixing the issue in workspace id flag in create-account-group command (#1094). In this update, we have improved the
create_account_groupcommand related to theworkspace_idsflag in our open-source library. Theworkspace_idsflag's type has been changed fromlist[int] | Nonetostr | None, allowing for easier input of multiple workspace IDs as a string of comma-separated integers. Thecreate_account_level_groupsfunction in theAccountWorkspacesclass has been updated to accept this string and convert it to a list of integers before proceeding. To ensure proper functioning, we added a new test casetest_create_account_groups_with_id()to check if the command handles the case when no workspace IDs are provided in the configuration. Thecreate_account_groups()method now checks for this condition and raises aValueError. Furthermore, themanual_workspace_info()method has been updated to handle workspace name input by the user, receiving thewsobject, along with prompts that contain the user input for the workspace name and the next workspace ID. - Rely UCX on the latest 14.3 LTS DBR instead of 15.x (#1097). In this release, we have implemented a quick fix to rely on the Long Term Support (LTS) version 14.3 of the Databricks Runtime (DBR) instead of 15.x for UCX, addressing issue #1096. This change affects the
_definitionfunction, which has been modified to use the latest LTS DBR instead of the latest Spark version. Thelatest_lts_dbrvariable is now assigned the value returned by theselect_spark_versionmethod with thelatest=Trueandlong_term_support=Trueparameters. Thespark_versionkey in thepolicy_definitiondictionary is set to the value returned by the_policy_configmethod withlatest_lts_dbras the argument. Additionally, in thetests/unit/installer/test_policy.pyfile, theselect_spark_versionmethod of theclustersobject has been updated to accept any number of arguments and consistently return the string "14.2.x-scala2.12", allowing for greater flexibility. This is a temporary solution, with a more comprehensive fix being tracked in issue #1098. Developers should be aware of how theclustersobject is used in the codebase when adopting this project.
Contributors: @nfx, @qziyuan, @prajin-29