-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Labels
api: bigquerystorageIssues related to the googleapis/java-bigquerystorage API.Issues related to the googleapis/java-bigquerystorage API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.
Description
Hi team,
I'm switching over to the BQ Storage API and I'm trying to figure out if there is way to do the same as with the legacy API for Create/Write Disposition:
JobInfo.CreateDisposition.CREATE_IF_NEEDED // Configures the job to create the table if it does not exist
JobInfo.CreateDisposition.CREATE_NEVER // Configures the job to fail with a not-found error if the table does not exist
JobInfo.WriteDisposition.WRITE_EMPTY // Configures the job to fail with a duplicate error if the table already exists
JobInfo.WriteDisposition.WRITE_APPEND // Configures the job to append data to the table if it already exists
JobInfo.WriteDisposition.WRITE_TRUNCATE // Configures the job to overwrite the table data if table already exists
In particular, having the option to have the table automatically created if it does not exist. And the option to truncate any existing data (this is useful when using the new API in a batch mode).
Appreciate any hints on this!
ismailsimsek
Metadata
Metadata
Assignees
Labels
api: bigquerystorageIssues related to the googleapis/java-bigquerystorage API.Issues related to the googleapis/java-bigquerystorage API.type: questionRequest for information or clarification. Not an issue.Request for information or clarification. Not an issue.