You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a configuration.yml file in my ~/.soda directory. If I try to use the following scan command that ought to implicitly find the file, it produces an error.
soda scan -d aws_postgres_retail checks.yml
Soda Core 3.0.0b4
No configuration file specified nor found on ~/.soda/configuration.yml
Unknown error while executing scan.
| dictionary changed size during iteration
| Stacktrace:
| Traceback (most recent call last):
| File "/Users/Janet/.pyenv/versions/3.9.2/lib/python3.9/site-packages/soda/scan.py", line 267, in execute
|fordata_source_scan_cfginself._sodacl_cfg.data_source_scan_cfgs.values():
| RuntimeError: dictionary changed size during iteration
But if I explicitly identify the configuration.yml and path, it works just fine.
soda scan -d aws_postgres_retail -c ~/.soda/configuration.yml checks.yml
Soda Core 3.0.0b4
Scan summary:
1/1 check PASSED:
orders in aws_postgres_retail
row_count > 0 [PASSED]
All is good. No failures. No warnings. No errors.
The text was updated successfully, but these errors were encountered:
tombaeyens
changed the title
Scan command ignores configuration.yml unless explicitly identified with -c option
~/.soda/configuration.yml not automatically used
Mar 28, 2022
Using soda-core-postgres, 3.0.0b4.
Python 3.9.2
I have created a
configuration.yml
file in my~/.soda
directory. If I try to use the following scan command that ought to implicitly find the file, it produces an error.But if I explicitly identify the configuration.yml and path, it works just fine.
The text was updated successfully, but these errors were encountered: