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

Snapshot arguments/function #515

Open
muschellij2 opened this issue Oct 19, 2022 · 1 comment
Open

Snapshot arguments/function #515

muschellij2 opened this issue Oct 19, 2022 · 1 comment
Labels
api 🕸️ feature a feature request or enhancement

Comments

@muschellij2
Copy link

We want to make snapshots/backups of our tables, which is available via: https://cloud.google.com/bigquery/docs/table-snapshots-create#api.

Namely, adding in something about operationType = "SNAPSHOT" in docs for bq_perform_copy (arg name operation_type) and likely destinationExpirationTime. Would this operation be useful to put in bigrquery?

If so, I'm not sure the best course of action, but the options are:

  1. Added documentation of arguments (in ...) for bq_table_copy
  2. Additional arguments for bq_table_copy (may cause confusion), but we can map all the options from https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfigurationTableCopy, with default COPY
  3. Another function for snapshotting, that calls bq_table_copy (or tell users to do that.

I'd be happy to discuss these options, but wanted to gauge interest before doing any work on a PR.

@hadley hadley added feature a feature request or enhancement api 🕸️ labels Nov 3, 2023
@hadley
Copy link
Member

hadley commented Nov 3, 2023

If you're still interested, this still seems worth working on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api 🕸️ feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants