Skip to content

fix: use table clone instead of system time for read_gbq_table #109

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

Merged
merged 7 commits into from
Nov 3, 2023

Conversation

tswast
Copy link
Collaborator

@tswast tswast commented Oct 13, 2023

BEGIN_COMMIT_OVERRIDE
chore(reverted): use table clone instead of system time for read_gbq_table
END_COMMIT_OVERRIDE

Towards internal issue 301645192 to have lower-cost default ordering.

Blocked by internal issue 305235665

Closes internal issue 301459572

@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 Oct 13, 2023
@tswast tswast force-pushed the b305235665-table-clone branch from 5530aaf to 42c70f5 Compare November 2, 2023 16:33
@tswast tswast marked this pull request as ready for review November 2, 2023 21:52
@tswast tswast requested review from a team as code owners November 2, 2023 21:52
@tswast tswast requested a review from ashleyxuu November 2, 2023 21:52
"""
)
job_config = bigquery.QueryJobConfig()
job_config.labels = {"bigframes-api": api_name}
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to add "source": "bigquery-dataframes-temp" as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will do! FYI: That label is for internal issue 296779699. The original request was to either add it to the job that created the table or the table itself. Wouldn't hurt to do both.

@tswast tswast requested a review from ashleyxuu November 3, 2023 15:17
@tswast tswast merged commit 031f253 into main Nov 3, 2023
@tswast tswast deleted the b305235665-table-clone branch November 3, 2023 18:20
tswast added a commit that referenced this pull request Nov 4, 2023
jiaxunwu pushed a commit that referenced this pull request Nov 4, 2023
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.

2 participants