UseStreamingInsert
- Last Updated: May 26, 2023
- 1 minute read
- DataDirect Connectors
- JDBC
- Google BigQuery 6.0
- Documentation
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