pat_nadolny
01/20/2022, 8:05 PMpat_nadolny
01/20/2022, 8:06 PMmeltano.yml
environments.meltano.yml
utilities/great_expectations/great_expectations.ymlpat_nadolny
01/20/2022, 8:08 PMmeltano --environment=prod invoke great_expectations checkpoint run x it needs to be within the utilities/great_expectations/ or else it says Error: No great_expectations directory was found here!pat_nadolny
01/20/2022, 8:08 PMcd into that directory I get Environment 'prod' was not found. from Meltano. But if I remove the environment then it worksedgar_ramirez_mondragon
01/20/2022, 8:10 PMinclude_paths as relative to where the command is run?pat_nadolny
01/20/2022, 8:14 PM- ../../*.meltano.yml to my include_pathspat_nadolny
01/20/2022, 8:14 PMedgar_ramirez_mondragon
01/20/2022, 8:15 PMedgar_ramirez_mondragon
01/20/2022, 8:41 PMGE_HOME=$MELTANO_PROJECT_ROOT/utilities/great_expectations/ environment variable tells GE to look for the great_expectations.yml file there?pat_nadolny
01/20/2022, 8:42 PMpat_nadolny
01/20/2022, 8:44 PMpat_nadolny
01/20/2022, 8:45 PMenv key it doesnt populate the template - 'GE_HOME': '$MELTANO_PROJECT_ROOT/utilities/great_expectations/' from the logsedgar_ramirez_mondragon
01/20/2022, 8:45 PMpat_nadolny
01/20/2022, 8:46 PMedgar_ramirez_mondragon
01/20/2022, 8:50 PM- name: great_expectations
namespace: great_expectations
pip_url: great_expectations; sqlalchemy; PyAthenaJDBC>1.0.9; PyAthena>1.2.0
executable: great_expectations
settings:
- name: ge_home
value: $MELTANO_PROJECT_ROOT/utilities/great_expectationsedgar_ramirez_mondragon
01/20/2022, 8:53 PM'GREAT_EXPECTATIONS_GE_HOME': '/Users/edgarramirez/meltano/squared/data/utilities/great_expectations' in the debug outputedgar_ramirez_mondragon
01/20/2022, 8:55 PM- name: great_expectations
namespace: great_expectations
pip_url: great_expectations; sqlalchemy; PyAthenaJDBC>1.0.9; PyAthena>1.2.0
executable: great_expectations
settings:
- name: ge_home
value: $MELTANO_PROJECT_ROOT/utilities/great_expectations
env: GE_HOME
@pat_nadolny I think this ☝️ should do itpat_nadolny
01/20/2022, 8:58 PMpat_nadolny
01/20/2022, 8:59 PM'GE_HOME': '$MELTANO_PROJECT_ROOT/utilities/great_expectations/',pat_nadolny
01/20/2022, 8:59 PM'MELTANO_PROJECT_ROOT': '/Users/pnadolny/Documents/Git/GitLab/squared/data' is also availablepat_nadolny
01/20/2022, 9:01 PMedgar_ramirez_mondragon
01/20/2022, 9:06 PMself.rootedgar_ramirez_mondragon
01/20/2022, 9:09 PMGE_HOME correctly expands MELTANO_PROJECT_ROOT for me 🤔
..., 'GE_HOME': '/Users/edgarramirez/meltano/squared/data/utilities/great_expectations', 'GREAT_EXPECTATIONS_GE_HOME': '/Users/edgarramirez/meltano/squared/data/utilities/great_expectations', 'MELTANO_UTILIZE_GE_HOME': '/Users/edgarramirez/meltano/squared/data/utilities/great_expectations', 'VIRTUAL_ENV': '/Users/edgarramirez/meltano/squared/data/.meltano/utilities/great_expectations/venv'}pat_nadolny
01/20/2022, 9:26 PMedgar_ramirez_mondragon
01/20/2022, 9:28 PMmeltano.yml with this
- name: great_expectations
namespace: great_expectations
pip_url: great_expectations; sqlalchemy; PyAthenaJDBC>1.0.9; PyAthena>1.2.0
executable: great_expectations
settings:
- name: ge_home
value: $MELTANO_PROJECT_ROOT/utilities/great_expectations
env: GE_HOME
and running from the meltano root (in squared/data)edgar_ramirez_mondragon
01/20/2022, 9:37 PMpat_nadolny
01/20/2022, 9:45 PM