-
Notifications
You must be signed in to change notification settings - Fork 101
[BUG]: Handle empty string in Group Migration Regex subsitution #1922
Copy link
Copy link
Closed
Labels
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
For group migration choosing a strategy "Regex substitution". All the ws group names have suffix "_old". Need to remove it to map to account name
ws group name : AZ-BackOfficeTech-QA_old
Acc group Name : AZ-BackOfficeTech-QA
Enter a regular expression for substitution: '_old'
Enter the substitution value: ''
I am trying to remove/subsitute _old with blank


I think in code if replace_regex is empty or '' it's not a valid input
Expected Behavior
ws group name : AZ-BackOfficeTech-QA_old
Acc group Name : AZ-BackOfficeTech-QA
Using above ws_group_name AZ-BackOfficeTech-QA_old should map to acc group name AZ-BackOfficeTech-QA
Steps To Reproduce
No response
Cloud
Azure
Operating System
macOS
Version
latest via Databricks CLI
Relevant log output
No response
Reactions are currently unavailable