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

Test failure due to apache-airflow-providers-snowflake 4.3.1 #114

Open
cdkini opened this issue Jul 18, 2023 · 0 comments
Open

Test failure due to apache-airflow-providers-snowflake 4.3.1 #114

cdkini opened this issue Jul 18, 2023 · 0 comments
Assignees

Comments

@cdkini
Copy link
Contributor

cdkini commented Jul 18, 2023

Hey there! I'm one of the core devs from the GX team and wanted to reach out to highlight a test failure we've been seeing in our CI - tests/operators/test_great_expectations.py::test_great_expectations_operator__make_connection_string_snowflake_pkey

As part of our CI, we clone this repository, install dependencies, and run the full suite. I've done some debugging and have come to the conclusion that this is a result of the new 4.3.1 release; testing on 4.3.0 passes all tests.

Here's where it fails:

# test_great_expectations_operator__make_connection_string_snowflake_pkey
>       assert operator.make_connection_configuration() == test_conn_conf

tests/operators/test_great_expectations.py:911: 

Here's the specific part of the snowflake package that fails:

        elif private_key_file:
            private_key_file_path = Path(private_key_file)
            if not private_key_file_path.is_file() or private_key_file_path.stat().st_size == 0:
>               raise ValueError("The private_key_file path points to an empty or invalid file.")
E               ValueError: The private_key_file path points to an empty or invalid file.

/opt/hostedtoolcache/Python/3.8.17/x64/lib/python3.8/site-packages/airflow/providers/snowflake/hooks/snowflake.py:253: ValueError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants