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
When running expectations on our production env (Airflow2 running in Astronomer) I get the following error: [2022-07-04, 13:57:04 UTC] {taskinstance.py:1774} ERROR - Task failed with exception Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/great_expectations_provider/operators/great_expectations.py", line 127, in execute self.data_context: BaseDataContext = ge.data_context.DataContext( File "/usr/local/lib/python3.9/site-packages/great_expectations/data_context/data_context/data_context.py", line 369, in __init__ self._save_project_config() File "/usr/local/lib/python3.9/site-packages/great_expectations/data_context/data_context/data_context.py", line 450, in _save_project_config with open(config_filepath, "w") as outfile: PermissionError: [Errno 13] Permission denied: '/usr/local/airflow/labeling_dags/include/great_expectations/great_expectations.yml'
It seems that it tries to override the great_expectations.yml file.
Is there a way to avoid that?
I see that there is the ge_cloud_mode attribute that if true it doesn't try to override, but I see there are other implications for setting ge_cloud_mode to true, which I am not sure of.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When running expectations on our production env (Airflow2 running in Astronomer) I get the following error:
[2022-07-04, 13:57:04 UTC] {taskinstance.py:1774} ERROR - Task failed with exception Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/great_expectations_provider/operators/great_expectations.py", line 127, in execute self.data_context: BaseDataContext = ge.data_context.DataContext( File "/usr/local/lib/python3.9/site-packages/great_expectations/data_context/data_context/data_context.py", line 369, in __init__ self._save_project_config() File "/usr/local/lib/python3.9/site-packages/great_expectations/data_context/data_context/data_context.py", line 450, in _save_project_config with open(config_filepath, "w") as outfile: PermissionError: [Errno 13] Permission denied: '/usr/local/airflow/labeling_dags/include/great_expectations/great_expectations.yml'
It seems that it tries to override the great_expectations.yml file.
Is there a way to avoid that?
I see that there is the ge_cloud_mode attribute that if true it doesn't try to override, but I see there are other implications for setting ge_cloud_mode to true, which I am not sure of.
Is there another way to avoid it?
Beta Was this translation helpful? Give feedback.
All reactions