Skip to content

Conversation

@tswast
Copy link
Collaborator

@tswast tswast commented Jul 25, 2025

…pandas`.

I updated the benchmarks in tests/benchmark/read_gbq_colab to call bigframes.pandas._read_gbq_colab(...) instead of session._read_gbq_colab(...).

Since the session object is no longer needed in these benchmarks, I also removed that dependency.

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> 🦕

@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Jul 25, 2025
I have refactored the `read_gbq_colab` benchmarks to call
`bigframes.pandas`.

I updated the benchmarks in `tests/benchmark/read_gbq_colab` to call
`bigframes.pandas._read_gbq_colab(...)` instead of
`session._read_gbq_colab(...)`.

Since the `session` object is no longer needed in these benchmarks, I
also removed that dependency.
@tswast tswast force-pushed the update-read-gbq-colab-benchmarks branch from 4421cbf to 76ebabe Compare July 25, 2025 19:19
session,
suffix,
) = utils.get_configuration(include_table_id=True)
) = utils.get_configuration(include_table_id=True, include_session=False)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This parameter doesn't actually exist. Might be nice to have a start_session=False argument, though.

@tswast
Copy link
Collaborator Author

tswast commented Jul 25, 2025

Not worth resolving the conflicts. I'll try with Jules again in a separate PR.

@tswast tswast closed this Jul 25, 2025
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: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant