-
Notifications
You must be signed in to change notification settings - Fork 86
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
Add DirectFsAccess
progress encoder
#3315
Conversation
❌ 50/54 passed, 4 failed, 23m44s total ❌ test_workflow_linter_lints_python_wheel_task: databricks.labs.blueprint.parallel.ManyError: Detected 7 failures: TypeError: LakeviewAPI.create() got an unexpected keyword argument 'parent_path' (1m26.942s)
❌ test_running_real_migration_progress_job: databricks.labs.blueprint.parallel.ManyError: Detected 7 failures: TypeError: LakeviewAPI.create() got an unexpected keyword argument 'parent_path' (1m49.131s)
❌ test_fix_dashboard: databricks.labs.blueprint.parallel.ManyError: Detected 7 failures: TypeError: LakeviewAPI.create() got an unexpected keyword argument 'parent_path' (38.705s)
❌ test_workflow_linter_lints_job_with_wheel_dependency: databricks.labs.blueprint.parallel.ManyError: Detected 7 failures: TypeError: LakeviewAPI.create() got an unexpected keyword argument 'parent_path' (34.312s)
Running from acceptance #7376 |
from databricks.labs.ucx.source_code.directfs_access import DirectFsAccessOwnership | ||
|
||
|
||
class DirectFsAccessProgressEncoder(ProgressEncoder[DirectFsAccess]): |
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.
shouldn't it belong to a notebook/sql query/dashboard, rather than being it's own top-level entity?
A direct filesystem is by definition a failure as it is not supported in Unity Catalog. | ||
""" | ||
historical = super()._encode_record_as_historical(record) | ||
failure = "Direct filesystem access is not supported in Unity Catalog" |
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.
failure = "Direct filesystem access is not supported in Unity Catalog" | |
failure = "Direct filesystem access is not supported in Unity Catalog: {record.path}" |
and add it to a notebook/view/sql query/dashboard
Closing this PR and moving the logic to become part of business resources like mentioned, see design doc |
Changes
Add
DirectFsAccessProgressEncoder
to add the query problems to the history log for using it in the migration progressLinked issues
Progresses #3045
Breaks up #3112
Functionality
table-migration-experimental
Tests