8000 fix: update session metrics in `read_gbq_query` by Genesis929 · Pull Request #1084 · googleapis/python-bigquery-dataframes · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@Genesis929
Copy link
Collaborator
@Genesis929 Genesis929 commented Oct 14, 2024

This change makes sure the session metrics correctly reflect slot milliseconds after ML transform.

Fixes internal issue 372547905 🦕

@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Oct 14, 2024
@Genesis929 Genesis929 marked this pull request as ready for review October 14, 2024 23:51
@Genesis929 Genesis929 requested review from a team as code owners October 14, 2024 23:51
@Genesis929 Genesis929 requested a review from sycai October 14, 2024 23:51
@Genesis929 Genesis929 requested a review from shobsi October 14, 2024 23:52
@shobsi shobsi changed the title fix: update read_gbq_query query metric and fix ML transform metric m… fix: update session metrics upon read_gbq_query Oct 15, 2024
@shobsi shobsi changed the title fix: update session metrics upon read_gbq_query fix: update session metrics upon read_gbq_query Oct 15, 2024
@shobsi shobsi changed the title fix: update session metrics upon read_gbq_query fix: update session metrics in read_gbq_query Oct 15, 2024
@Genesis929 Genesis929 merged commit dced460 into main Oct 15, 2024
@Genesis929 Genesis929 deleted the slottime_ml_fix_huanc branch October 15, 2024 18:02
configuration=configuration,
)

if self._metrics is not None:
Copy link
Contributor

Choose a reason for hiding this comment

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

I missed earlier, is the query_job guaranteed to have finished at this point? We should wait for the job to finish, like we do in other places before calling count_job_stats.

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: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

0