-
Notifications
You must be signed in to change notification settings - Fork 99
Update integration test with new SPN ID #4704
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4704 +/- ##
=======================================
Coverage ? 87.94%
=======================================
Files ? 123
Lines ? 17570
Branches ? 3714
=======================================
Hits ? 15452
Misses ? 1425
Partials ? 693 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
✅ 55/55 passed, 5 skipped, 2h52m28s total Running from acceptance #8942 |
FastLee
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Related to a labs-infra PR.
* Added a dataframe call matcher for linting tables ([#4664](#4664)). The library has been enhanced with several new features and improvements. A new method has been introduced to check if a given call node represents a DataFrame method call, such as `df.write.mode().saveAsTable()` or `df.write.saveAsTable()`, by verifying the call chain and intermediate calls. This method is utilized by the existing `matches` method to correctly identify DataFrame method calls for linting purposes. Additionally, the `pick_owner_group` method has been updated to filter out groups with `None` display names, ensuring that the user is only presented with valid group options. Furthermore, a new test method has been added to collect and lint DataFrame calls, such as `df.write[.mode()].saveAsTable()`, to ensure that used tables are correctly identified in PySpark code, covering various scenarios and utilizing relevant classes to provide context for the linter. * Updated integration test with new SPN ID ([#4704](#4704)). The migration of external tables with a service principal name (SPN) in an Azure environment has been enhanced for improved security and flexibility. Instead of relying on a hardcoded SPN client ID, the test case now retrieves the ID from a secret store, utilizing a secure method to manage sensitive credentials. This change allows for better protection and easier rotation of credentials, aligning with best practices for handling confidential information. * Updates documentation with installation prompt details ([#4399](#4399)). The installation process for Unity Catalog migration has been enhanced to provide a more guided and user-friendly experience, featuring interactive prompts that walk users through configuring their migration settings. These prompts cover a range of aspects, including basic configuration, migration strategies, database and table settings, ownership and validation reconciliation, SQL warehouse selection, network and dependency configuration, and post-installation steps. With validation and orchestration handled by the installation classes, users can easily configure and deploy their workspaces to Unity Catalog, with support for advanced scenarios such as forced installation prompts and joining existing collections, which require account admin privileges, resulting in a more streamlined and customizable migration experience.
* Added a dataframe call matcher for linting tables ([#4664](#4664)). Improved linting: Enhanced table checks and fixed group selection issues. * Updated integration test with new SPN ID ([#4704](#4704)). Improved authentication: Enhanced integration with secure ID updates. * Updates documentation with installation prompt details ([#4399](#4399)). Simplified installation: Added guidance on UCX install prompts, improving user experience.
Changes
Update test will new SPN ID with a short term fix. Added a new bug for fixing it later.
Resolves #4703