Skip to content

fix get_connections deprecation warn in hivemetastore hook#18854

Merged
potiuk merged 1 commit into
apache:mainfrom
Aakcht:hivemetastore_hook_fix_deprecation_warning
Oct 10, 2021
Merged

fix get_connections deprecation warn in hivemetastore hook#18854
potiuk merged 1 commit into
apache:mainfrom
Aakcht:hivemetastore_hook_fix_deprecation_warning

Conversation

@Aakcht

@Aakcht Aakcht commented Oct 9, 2021

Copy link
Copy Markdown
Contributor

Hive metastore hook logs deprecation warning because of get_connections method usage, see https://github.com/apache/airflow/blob/main/airflow/providers/apache/hive/hooks/hive.py#L547 and https://github.com/apache/airflow/blob/main/airflow/hooks/base.py#L50 . This PR removes this warning.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, 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 UPDATING.md.

@github-actions github-actions Bot added the okay to merge It's ok to merge this PR as it does not require more tests label Oct 9, 2021
@github-actions

github-actions Bot commented Oct 9, 2021

Copy link
Copy Markdown
Contributor

The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease.

@potiuk
potiuk merged commit 232f7d1 into apache:main Oct 10, 2021
@Aakcht
Aakcht deleted the hivemetastore_hook_fix_deprecation_warning branch November 19, 2021 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers okay to merge It's ok to merge this PR as it does not require more tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants