Skip to content

Conversation

@tswast
Copy link
Collaborator

@tswast tswast commented May 29, 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 May 29, 2024 21:56
@tswast tswast requested a review from Genesis929 May 29, 2024 21:56
@review-notebook-app
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 size: xl Pull request size is extra large. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels May 29, 2024
"""Options to use with the BigQuery engine."""
if self._local.bigquery_options is not None:
if (
bigquery_options := getattr(self._local, "bigquery_options", None)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not 100% sure how this was failing, but for some reason self._local.bigquery_options wasn't being initialized when I ran from a notebook in VS Code.

I think it's because the original Options.__init__ from the import ran in a different thread from the one where the actual cell code was running.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed by #741

@@ -0,0 +1,288 @@
# Copyright 2024 Google LLC
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Moved from tests/system/small/test_empty_index.py and added test_null_index_merge_* tests.

@tswast tswast merged commit 25d049c into main May 31, 2024
@tswast tswast deleted the tswast-null-index-docs branch May 31, 2024 18:35
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: xl Pull request size is extra large.

3 participants