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

Dremio task #3734

Merged
merged 13 commits into from
Dec 2, 2020
Merged

Dremio task #3734

merged 13 commits into from
Dec 2, 2020

Conversation

strojank
Copy link

@strojank strojank commented Nov 30, 2020

Summary

This PR creates a starting point for Dremio-related tasks.

Changes

It adds a task for fetching data with Dremio using Arrow Flight.

Importance

It expands Prefect task library.

Checklist

This PR:

  • adds new tests (if appropriate)
  • adds a change file in the changes/ directory (if appropriate)
  • updates docstrings for any new functions or function arguments, including docs/outline.toml for API reference docs (if appropriate)

@marvin-robot
Copy link
Member

Here I am, brain the size of a planet and they ask me to welcome you to Prefect.

So, welcome to the community @strojank! 🎉 🎉

@joshmeek
Copy link

Hey @strojank would you mind merging the latest from master into your branch? We just merged in a PR that fixes some of the issues we have been seeing in the CI tests!

@codecov
Copy link

codecov bot commented Dec 1, 2020

Codecov Report

Merging #3734 (9006a32) into master (8211c08) will increase coverage by 0.02%.
The diff coverage is n/a.

Comment on lines +59 to +62
self.user = user
self.password = password
self.host = host
self.port = port
Copy link

@joshmeek joshmeek Dec 1, 2020

Choose a reason for hiding this comment

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

I think all of these kwargs should also be allowed at runtime and in the defaults_from_attrs (like you do with query) because then they can be specified using upstream PrefectSecret tasks 🙂

Copy link
Author

Choose a reason for hiding this comment

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

Thanks, that makes sense. Kwargs added :)

@joshmeek joshmeek merged commit 8a5470a into PrefectHQ:master Dec 2, 2020
@strojank strojank deleted the dremio-task branch December 2, 2020 15:31
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.

3 participants