Skip to content

Don't return query results from BigQuery DML/DDL statements #2141

@nfallen

Description

@nfallen

This client library uses tabledata.list to fetch query results, and so even for a DML/DDL statement it fetches rows. Instead, you could use the jobs.getQueryResults API, which correctly does not return any rows for DML/DDL.

Metadata

Metadata

Assignees

Labels

api: bigqueryIssues related to the BigQuery API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions