Skip to content

No parameter available to specify a jobId to Table.upload_from_file() #3574

@mackenzieATA

Description

@mackenzieATA

There is no way to send a jobId to the upload_from_file function.

My motivation is that I've had issues with uploading the same file twice, duplicating data in the target table. A suggested solution was to specify my own jobId as a hash of the file contents. That way, duplicate uploads would be rejected as having the same jobId. Without modifying the library, there is no ability to do this.

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the BigQuery API.priority: p2Moderately-important priority. Fix may not be included in next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions