Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange for Google BigQuery
  3. PowerExchange for Google BigQuery Configuration
  4. Google BigQuery Sources and Targets
  5. Google BigQuery Mappings
  6. Google BigQuery Sessions
  7. Google BigQuery as CDC Target
  8. Google BigQuery Pushdown Optimization
  9. Appendix A: Google BigQuery Data Type Reference

PowerExchange for Google BigQuery User Guide for PowerCenter

PowerExchange for Google BigQuery User Guide for PowerCenter

Using Merge Query for Update, Upsert, and Delete Operations

Using Merge Query for Update, Upsert, and Delete Operations

You can implement the Merge query to perform the update, upsert, and delete operations on a Google BigQuery target in a single SQL statement.
To implement the Merge query, select the
Enable Merge
option in the target session properties.

Rules and Guidelines

Consider the following rules and guidelines when you use the Merge query:
  • When you configure a Google BigQuery connection to use the simple connection mode and select CSV as the staging file format, you must not mark any columns of the Record data type for update or upsert operation.
  • When you configure a Google BigQuery connection to use the simple connection mode, the Google BigQuery target table must not contain repeated columns.
  • When you configure a Google BigQuery connection to use hybrid connection mode, the Google BigQuery target table must not contain repeated columns as the key field.

0 COMMENTS

We’d like to hear from you!