-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Replace sasl with pyhive.get_installed_sasl for pure-sasl compatibility #55772
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
Replace sasl with pyhive.get_installed_sasl for pure-sasl compatibility #55772
Conversation
- Remove direct sasl/saslwrapper imports - Use pyhive.hive.get_installed_sasl which handles pure-sasl compatibility - Maintain same SASL authentication logic for GSSAPI/Kerberos - Ensures compatibility with pure-sasl package while preserving functionality
romsharon98
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, only static checks need to be fixed
- Remove dags/simple_spark_xcom_test.py - Remove dags/test_spark_kubernetes_xcom.py - Keep only the Hive provider changes for pure-sasl compatibility
|
The RAT license check is failing on files I didn’t modify (go-sdk/...). Do we need to add headers to these, or should they be excluded? |
You need to fix this test https://github.com/apache/airflow/actions/runs/18009293662/job/51238277816#step:6:1 |
- Reorganize imports according to ruff standards - Fix import ordering and formatting - Ensure code follows ruff linting rules - Auto-fix 2 ruff errors found in the file
d5ef258 to
5f1f682
Compare
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.