Skip to content
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

[CUJ]: Milestones for table migration - Azure #1035

Closed
1 task done
qziyuan opened this issue Mar 8, 2024 · 1 comment
Closed
1 task done

[CUJ]: Milestones for table migration - Azure #1035

qziyuan opened this issue Mar 8, 2024 · 1 comment
Labels
CUJ critial user journey enhancement New feature or request needs-triage

Comments

@qziyuan
Copy link
Contributor

qziyuan commented Mar 8, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem statement

The development of the table migration feature will be structured into several phases. Please review the plan outlined below, which includes three milestones.
Parent issues: #333, #670

Proposed Solution

Milestone 0: single migrate_tables workflow

flowchart TD
    subgraph CLI
    create_table_mapping --> create_catalogs_schemas
    create_uber_principal
    principal_prefix_access --> migrate_credentials
    migrate_credentials --> migrate_locations
    migrate_locations --> create_catalogs_schemas
    end
    
    create_uber_principal --> mt_workflow
    create_table_mapping --> mt_workflow
    create_catalogs_schemas --> mt_workflow
    
    subgraph mt_workflow[workflow: migrate_tables, with description claiming above dependecies]
    migrate_tables_task[migrate_tables]
    end
Loading

Milestone 1: single migrate_tables workflow with database tracking the progress

flowchart TD
    subgraph CLI
    create_table_mapping --> create_catalogs_schemas
    create_uber_principal
    principal_prefix_access --> migrate_credentials
    migrate_credentials --> migrate_locations
    migrate_locations --> create_catalogs_schemas
    end
    
    create_uber_principal --> mt_workflow
    create_table_mapping --> mt_workflow
    create_catalogs_schemas --> mt_workflow
    
    subgraph mt_workflow[workflow: migrate_tables, with description claiming above dependecies]
    migrate_tables_task[migrate_tables]
    end

    migrate_tables_task --> tm_results_table
    subgraph inventory_database
    tm_results_table[table_migration_progress]
    end

    tm_results_table --> tm_results_chart
    subgraph dashboard
    tm_results_chart[table_migration_charts]
    end
Loading

Milestone 2: migrate_tables CLI and dependencies workflows

flowchart TD
    subgraph CLI
    create_table_mapping --> create_catalogs_schemas
    principal_prefix_access --> migrate_credentials
    migrate_credentials --> migrate_locations
    migrate_locations --> create_catalogs_schemas
    create_uber_principal --> mt_cli[migrate_tables]
    create_catalogs_schemas --> mt_cli
    create_table_mapping --> mt_cli
    end

    subgraph principal_prefix_access_wf[workflow: principal_prefix_access]
    principal_prefix_access_task
    end
    principal_prefix_access_wf --1. user review azure_storage_account_info.csv
    2. latest_job_status--> mc_check_dependencies

    subgraph table_mapping_wf[workflow: create_table_mapping]
    create_table_mapping_task
    end
    table_mapping_wf --1. user review mapping.csv
    2. latest_job_status--> mc_check_dependencies


    subgraph mt_dependencies_wf[workflow: migrate_dependencies]
    mc_check_dependencies[check_dependencies] --> migrate_credentials_task
    migrate_credentials_task --> migrate_locations_task
    migrate_locations_task --> create_catalogs_schemas_task
    end
    mt_dependencies_wf --latest_job_status-->mt_check_dependencies
    
    subgraph mt_workflow[workflow: migrate_tables]
    mt_check_dependencies[check_dependencies] --> migrate_tables_task
    migrate_tables_task[migrate_tables]
    end
    migrate_tables_task --> tm_results_table

    subgraph inventory_database
    tm_results_table[table_migration_results]
    end

    tm_results_table --> tm_results_chart
    subgraph dashboard
    tm_results_chart[table_migration_charts]
    end
Loading

Milestone 3: More migration result tables and dashboards

flowchart TD
    subgraph CLI
    create_table_mapping --> create_catalogs_schemas
    principal_prefix_access --> migrate_credentials
    migrate_credentials --> migrate_locations
    migrate_locations --> create_catalogs_schemas
    create_uber_principal --> mt_cli[migrate_tables]
    create_catalogs_schemas --> mt_cli
    create_table_mapping --> mt_cli
    end

    subgraph principal_prefix_access_wf[workflow: principal_prefix_access]
    principal_prefix_access_task
    end
    principal_prefix_access_wf --1. user review azure_storage_account_info.csv
    2. latest_job_status--> mc_check_dependencies

    subgraph table_mapping_wf[workflow: create_table_mapping]
    create_table_mapping_task
    end
    table_mapping_wf --1. user review mapping.csv
    2. latest_job_status--> mc_check_dependencies

    subgraph mt_dependencies_wf[workflow: migrate_dependencies]
    mc_check_dependencies[check_dependencies] --> migrate_credentials_task
    migrate_credentials_task --> migrate_locations_task
    migrate_locations_task --> create_catalogs_schemas_task
    end
    mt_dependencies_wf --latest_job_status-->mt_check_dependencies
    migrate_credentials_task --> mc_results_table
    migrate_locations_task --> ml_results_table
    create_catalogs_schemas_task --> ccs_results_table
    
    subgraph mt_workflow[workflow: migrate_tables]
    mt_check_dependencies[check_dependencies] --> migrate_tables_task
    migrate_tables_task[migrate_tables]
    end
    migrate_tables_task --> tm_results_table

    subgraph inventory_database
    tm_results_table[table_migration_results]
    mc_results_table[credential_migration_results]
    ml_results_table[location_migration_results]
    ccs_results_table[catalog_schema_creation_results]
    end
    inventory_database --> dashboard
    
    subgraph dashboard
    tm_results_chart[table_migration_charts]
    mc_result_chart[credential_migration_chart]
    ml_results_chart[location_migration_chart]
    ccs_results_chart[catalog_schema_creation_chart]
    end
Loading

Additional Context

No response

@qziyuan qziyuan added enhancement New feature or request needs-triage labels Mar 8, 2024
@qziyuan qziyuan added this to UCX Mar 8, 2024
@github-project-automation github-project-automation bot moved this to Triage in UCX Mar 8, 2024
@nfx nfx changed the title [FEATURE]: Milestones for table migration - Azure [CUJ]: Milestones for table migration - Azure Mar 11, 2024
@nfx nfx added the CUJ critial user journey label Mar 11, 2024
@nfx nfx pinned this issue Apr 10, 2024
@nfx nfx moved this from Triage to Refined in UCX Apr 10, 2024
@nfx nfx moved this from Refined to Active Backlog in UCX Apr 10, 2024
@qziyuan
Copy link
Contributor Author

qziyuan commented Apr 22, 2024

This milestone thought is no longer aligned with our implementation. Close it.

@qziyuan qziyuan closed this as not planned Won't fix, can't repro, duplicate, stale Apr 22, 2024
@github-project-automation github-project-automation bot moved this from Active Backlog to Archive in UCX Apr 22, 2024
@nfx nfx unpinned this issue Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CUJ critial user journey enhancement New feature or request needs-triage
Projects
Archived in project
Development

No branches or pull requests

2 participants