# Beam BigQuery Output

## ![](/files/wV357pHU7qVzfJnHUTCE) Beam BigQuery Output

### Description <a href="#description" id="description"></a>

The Beam BigQuery Output transform can be used to write data to a [BigQuery](https://cloud.google.com/bigquery) table using the Beam execution engine.

| Hop Engine | X            |
| ---------- | ------------ |
| Spark      | <sup>✓</sup> |
| Flink      | <sup>✓</sup> |
| Dataflow   | <sup>✓</sup> |

### Options

| Option                         | Description                                                              |
| ------------------------------ | ------------------------------------------------------------------------ |
| Transform name                 | Name of the transform, this name has to be unique in a single pipeline.  |
| Project ID                     | The Google Cloud Platform project.                                       |
| Data set ID                    | The BigQuery dataset ID.                                                 |
| Table ID                       | The BigQuery table ID.                                                   |
| Create table if needed         | Whether or not to create the table if it does not exist. (default: true) |
| Truncate table                 | Whether or not to truncate the table before inserting.                   |
| Fail if the table is not empty | Throws an error if the table is not empty.                               |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.primeur.com/data-shaper-1.21/knowing-the-data-shaper-designer/pipelines/transforms/beambigqueryoutput.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
