Skip to content

Move hive_cli_params to hook parameters#28101

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:move-hive-cli-params
Dec 6, 2022
Merged

Move hive_cli_params to hook parameters#28101
potiuk merged 1 commit into
apache:mainfrom
potiuk:move-hive-cli-params

Conversation

@potiuk

@potiuk potiuk commented Dec 4, 2022

Copy link
Copy Markdown
Member

Those parameters belong to the Hook, not to the connection definition, so we should actually be able to specify them there.

You can also now specify hive_cli_params in the HiveOperator and it will pass the parameters to the HiveCliHook created under the hood.


^ 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.rst or {issue_number}.significant.rst, in newsfragments.

Those parameters belong to the Hook, not to the connection
definition, so we should actually be able to specify them there.

You can also now specify ``hive_cli_params`` in the HiveOperator
and it will pass the parameters to the HiveCliHook created under
the hood.
@potiuk

potiuk commented Dec 6, 2022

Copy link
Copy Markdown
Member Author

🙏

@potiuk potiuk merged commit 5f8481c into apache:main Dec 6, 2022
@potiuk potiuk deleted the move-hive-cli-params branch December 6, 2022 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants