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

hivevar option in hive query task #2185

Merged
merged 1 commit into from
Sep 12, 2017
Merged

hivevar option in hive query task #2185

merged 1 commit into from
Sep 12, 2017

Conversation

stroykova
Copy link
Contributor

Description

hivevars method was added. Dictionary items from hivevars are included to argument list as --hivevar options. It is needed for separate variables namespace.

Motivation and Context

The hiveconf namespace and --hiveconf should be used to set Hive configuration values.
The hivevar namespace and --hivevar should be used to define user variables.
Setting user variables under the hiveconf namespace probably won't break anything, but isn't recommended.

https://cwiki.apache.org/confluence/display/Hive/LanguageManual+VariableSubstitution

Have you tested this? If so, how?

I have included unit tests.

@mention-bot
Copy link

@stroykova, thanks for your PR! By analyzing the history of the files in this pull request, we identified @erikbern, @steenzout and @themalkolm to be potential reviewers.

Copy link
Collaborator

@dlstadther dlstadther left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems logical to me.

Mind tagging some other Hive contributors for reviews?

@stroykova
Copy link
Contributor Author

@JoeEnnever Hello! Seems like you developed the hive support for luigi. Could you please review these changes?

@stroykova
Copy link
Contributor Author

@rizzatti @erikbern

Hello!
Seems like you developed some features for hive. Could you please review these changes?

@rizzatti
Copy link
Contributor

👍 seems good to me

@dlstadther dlstadther merged commit d9667b7 into spotify:master Sep 12, 2017
@dlstadther
Copy link
Collaborator

Thanks for your contribution @stroykova !

This was referenced Jun 29, 2022
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

Successfully merging this pull request may close these issues.

4 participants