Skip to content

Commit

Permalink
Change datastream stream merge and append_only to conflicts with (#11292
Browse files Browse the repository at this point in the history
)
  • Loading branch information
c2thorn authored Jul 30, 2024
1 parent 6f36319 commit 5d82d77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
6 changes: 2 additions & 4 deletions mmv1/products/datastream/Stream.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1139,8 +1139,7 @@ properties:
send_empty_value: true
allow_empty_object: true
immutable: true
exactly_one_of:
- destination_config.0.bigquery_destination_config.0.merge
conflicts:
- destination_config.0.bigquery_destination_config.0.append_only
description: |
Merge mode defines that all changes to a table will be merged at the destination Google BigQuery
Expand All @@ -1152,9 +1151,8 @@ properties:
send_empty_value: true
allow_empty_object: true
immutable: true
exactly_one_of:
conflicts:
- destination_config.0.bigquery_destination_config.0.merge
- destination_config.0.bigquery_destination_config.0.append_only
description: |
AppendOnly mode defines that the stream of changes (INSERT, UPDATE-INSERT, UPDATE-DELETE and DELETE
events) to a source table will be written to the destination Google BigQuery table, retaining the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ resource "google_datastream_stream" "<%= ctx[:primary_resource_id] %>" {
kms_key_name = "<%= ctx[:vars]['bigquery_destination_table_kms_key_name'] %>"
}
}
merge {}
}
}

Expand Down

0 comments on commit 5d82d77

Please sign in to comment.