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

feat: expose DataFrame.bqclient to assist in integrations #519

Merged
merged 7 commits into from
Mar 27, 2024

Conversation

tswast
Copy link
Collaborator

@tswast tswast commented Mar 26, 2024

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

@tswast tswast requested review from a team as code owners March 26, 2024 19:49
@tswast tswast requested a review from junyazhang March 26, 2024 19:49
@product-auto-label product-auto-label bot added the size: l Pull request size is large. label Mar 26, 2024
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@product-auto-label product-auto-label bot added the api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. label Mar 26, 2024
@tswast tswast changed the title feat: expose DataFrame.session to assist in integrations feat: expose DataFrame.bqclient to assist in integrations Mar 26, 2024
Copy link
Contributor

@junyazhang junyazhang left a comment

Choose a reason for hiding this comment

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

Nice tutorial!

@@ -1,5 +1,27 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
Copy link
Contributor

Choose a reason for hiding this comment

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

Just curious, how much do we care about these execution_count in notebooks? We are having two execution_count = 1 in this file.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't think we really care. I recommend using the ReviewNB link above to review as a rendered version: #519 (comment)

"metadata": {},
"outputs": [],
"source": []
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this empty cell (line 416-422) intended here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch. I've removed the empty cells and made an update to the "Returning a BigQuery DataFrames (bigframes) DataFrame" sample.

@tswast tswast merged commit 0be8911 into main Mar 27, 2024
16 checks passed
@tswast tswast deleted the integrations-sample branch March 27, 2024 18:35
Genesis929 pushed a commit that referenced this pull request Apr 9, 2024
* feat: expose `DataFrame.session` to assist in integrations

* add code sample for sharing when the service account is only known on the backend

* expose bqclient instead

* start a DF construction sample

* finish read sample
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants