-
Notifications
You must be signed in to change notification settings - Fork 906
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
Create a new dataset allowing querying a Google Bigquery table with a custom SQL statement #1039
Create a new dataset allowing querying a Google Bigquery table with a custom SQL statement #1039
Conversation
This looks great @simonpicard ! We'll review properly in the week. Thanks for contributing! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍 Thanks for the contribution @simonpicard!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, happy to merge once all comments have been addressed. 🙌 Thank you for the contribution!
Co-authored-by: Merel Theisen <49397448+MerelTheisenQB@users.noreply.github.com>
Co-authored-by: Merel Theisen <49397448+MerelTheisenQB@users.noreply.github.com>
Co-authored-by: Merel Theisen <49397448+MerelTheisenQB@users.noreply.github.com>
Co-authored-by: Lorena Bălan <lorena.balan@quantumblack.com>
Co-authored-by: Lorena Bălan <lorena.balan@quantumblack.com>
Co-authored-by: Lorena Bălan <lorena.balan@quantumblack.com>
Thanks for the review, team!
@lorenabalan I updated the codebase according to your comments, please let me know if you notice something else to update. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent thank you for following up @simonpicard ! Left just a couple of minor docstrings comments, otherwise LGTM. Will merge this today.
Co-authored-by: Lorena Bălan <lorena.balan@quantumblack.com>
Co-authored-by: Lorena Bălan <lorena.balan@quantumblack.com>
I'll take over this one and get it merged, not sure why CI checks are not showing. |
Signed-off-by: Laurens Vijnck <laurens_vijnck@mckinsey.com>
Description
Adds a new dataset called
GBQQueryDataset
which allows querying a Google Bigquery table with a custom SQL statement, either by providing a direct SQL str as parameter for the dataset or using a path to a file containing the query.Linked to #1032
Development notes
GBQQueryDataset
inkedro/extras/datasets/pandas/gbq_dataset.py
GBQTableDataset
andSQLQueryDataset
as inspirationGBQQueryDataset
in the__init__
of modulekedro/extras/datasets/pandas
GBQQueryDataset
indocs/source/15_api_docs/kedro.extras.datasets.rst
for auto doc generationChecklist
RELEASE.md
fileNotice
I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":
I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorised to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorised by the Apache 2.0 license does not violate the intellectual property rights of anyone else.