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

data catalog <-> .dvc files: one file - existing dvc, catalog target changes -- fail w/o --force #37

Open
shaunc opened this issue Mar 6, 2022 · 0 comments
Labels
scenario issue for use of feature with coherent set of tests
Milestone

Comments

@shaunc
Copy link
Collaborator

shaunc commented Mar 6, 2022

In this case, if --force isn't specified we should fail with an error.

  • Error should be declared in kedro_dvc/exceptions: DatasetMoved derived from RuntimeError.
  • Command line should catch this error and write an error message:
    'Error, in catalog "{CONF_ROOT}/{env}/catalog.yml": entry {name}: "{old path}" moved to "{new path}": use --force to change.
@shaunc shaunc added the scenario issue for use of feature with coherent set of tests label Mar 6, 2022
@shaunc shaunc added this to the Stage 1 milestone Mar 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scenario issue for use of feature with coherent set of tests
Projects
Status: No status
Development

No branches or pull requests

3 participants