Credentials are written to config_variables.yml even if datasource creation is aborted #1859
Comments
|
Can I tackle this problem? Or is it addressed somewhere else already? |
|
Hi @felipebormann I'd try and reproduce the issue first, but I'm pretty sure this hasn't been fixed yet. You're more than welcome to tackle this! |
|
Now, when creating a new datasource, the Jupyter notebook that opens up reads
@anthonyburdi Has this issue been solved? |
|
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?\n\nThis issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |


Describe the bug
This is basically one of the issues I called out in #1855:
When I run
datasource newand exit the process at any point (e.g. ctrl+c), I still get a block for the credentials in config_variables.yml. However great_expectations.yml doesn't have the datasource entry. I would expect any kind of failure in the datasource creation process to not leave any artifacts.To Reproduce
Steps to reproduce the behavior:
great_expectations datasource newExpected behavior
I would expect any failure in the CLI workflows to not leave artifacts. This is similar to another issues I've filed where
suite newalso leaves a suite JSON even if the creation process fails/is canceled. I would expect GE to be better at cleanup/not leave artifacts if the CLI workflow fails at any point.Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: