Purpose

Determines whether the driver uses Google BigQuery's streaming API (InsertAll) to execute batch inserts. This improves performance for INSERT operations.

Valid Values

true | false

Behavior

If set to true, the driver uses the streaming API for batch inserts.

If set to false, the driver executes row by row inserts.

Notes

  • The driver stops subsequent batch insertion if an invalid row is encountered .
  • The Google BigQuery streaming API can be used for INSERT operations only.

Data Source Method

setUseStreamingInsert

Default

true

Data Type

Boolean

See also

Google BigQuery Streaming API

Performance considerations