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

Add possibility to execute pure sql on feature store #18

Merged
merged 2 commits into from
Mar 13, 2020

Conversation

moritzmeister
Copy link
Contributor

No description provided.

print("Lazily executing query: {}".format(sql_query))
with self._create_hive_connection() as hive_conn:
with self._create_hive_connection(feature_store) as hive_conn:
Copy link
Contributor

Choose a reason for hiding this comment

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

I'll merge this one, but we need to be careful with opening new connections with Hive. Hive reuses TEZ applications across query from the same connection. So you'll have lower latency when running a query.

@SirOibaf SirOibaf merged commit 58483eb into logicalclocks:master Mar 13, 2020
@SirOibaf SirOibaf deleted the sql branch March 13, 2020 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants