diff --git a/source-sqlserver/.snapshots/TestIndexIncludedDiscovery b/source-sqlserver/.snapshots/TestIndexIncludedDiscovery index 9eab9b2c2a..620911a72b 100644 --- a/source-sqlserver/.snapshots/TestIndexIncludedDiscovery +++ b/source-sqlserver/.snapshots/TestIndexIncludedDiscovery @@ -38,6 +38,28 @@ Binding 0: }, "allOf": [ { + "if": { + "properties": { + "_meta": { + "properties": { + "op": { + "const": "d" + } + } + } + } + }, + "then": { + "reduce": { + "delete": true, + "strategy": "merge" + } + }, + "else": { + "reduce": { + "strategy": "merge" + } + }, "required": [ "_meta" ], @@ -110,9 +132,6 @@ Binding 0: "strategy": "merge" } } - }, - "reduce": { - "strategy": "merge" } }, { diff --git a/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-index_only b/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-index_only index 301fd4036f..4ec0a281f2 100644 --- a/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-index_only +++ b/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-index_only @@ -38,6 +38,28 @@ Binding 0: }, "allOf": [ { + "if": { + "properties": { + "_meta": { + "properties": { + "op": { + "const": "d" + } + } + } + } + }, + "then": { + "reduce": { + "delete": true, + "strategy": "merge" + } + }, + "else": { + "reduce": { + "strategy": "merge" + } + }, "required": [ "_meta" ], @@ -110,9 +132,6 @@ Binding 0: "strategy": "merge" } } - }, - "reduce": { - "strategy": "merge" } }, { diff --git a/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-nonunique_index b/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-nonunique_index index 86afcaced7..e2588ba8e8 100644 --- a/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-nonunique_index +++ b/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-nonunique_index @@ -35,6 +35,28 @@ Binding 0: }, "allOf": [ { + "if": { + "properties": { + "_meta": { + "properties": { + "op": { + "const": "d" + } + } + } + } + }, + "then": { + "reduce": { + "delete": true, + "strategy": "merge" + } + }, + "else": { + "reduce": { + "strategy": "merge" + } + }, "required": [ "_meta" ], @@ -107,9 +129,6 @@ Binding 0: "strategy": "merge" } } - }, - "reduce": { - "strategy": "merge" } }, { diff --git a/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-nothing b/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-nothing index 52a2f642ac..a08e05ab90 100644 --- a/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-nothing +++ b/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-nothing @@ -35,6 +35,28 @@ Binding 0: }, "allOf": [ { + "if": { + "properties": { + "_meta": { + "properties": { + "op": { + "const": "d" + } + } + } + } + }, + "then": { + "reduce": { + "delete": true, + "strategy": "merge" + } + }, + "else": { + "reduce": { + "strategy": "merge" + } + }, "required": [ "_meta" ], @@ -107,9 +129,6 @@ Binding 0: "strategy": "merge" } } - }, - "reduce": { - "strategy": "merge" } }, { diff --git a/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-nullable_index b/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-nullable_index index dc92bd31a7..e11a824661 100644 --- a/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-nullable_index +++ b/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-nullable_index @@ -41,6 +41,28 @@ Binding 0: }, "allOf": [ { + "if": { + "properties": { + "_meta": { + "properties": { + "op": { + "const": "d" + } + } + } + } + }, + "then": { + "reduce": { + "delete": true, + "strategy": "merge" + } + }, + "else": { + "reduce": { + "strategy": "merge" + } + }, "required": [ "_meta" ], @@ -113,9 +135,6 @@ Binding 0: "strategy": "merge" } } - }, - "reduce": { - "strategy": "merge" } }, { diff --git a/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-pk_and_index b/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-pk_and_index index 67e676d944..4572323401 100644 --- a/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-pk_and_index +++ b/source-sqlserver/.snapshots/TestSecondaryIndexDiscovery-pk_and_index @@ -34,6 +34,28 @@ Binding 0: }, "allOf": [ { + "if": { + "properties": { + "_meta": { + "properties": { + "op": { + "const": "d" + } + } + } + } + }, + "then": { + "reduce": { + "delete": true, + "strategy": "merge" + } + }, + "else": { + "reduce": { + "strategy": "merge" + } + }, "required": [ "_meta" ], @@ -106,9 +128,6 @@ Binding 0: "strategy": "merge" } } - }, - "reduce": { - "strategy": "merge" } }, { diff --git a/source-sqlserver/.snapshots/TestVarcharKeyDiscovery b/source-sqlserver/.snapshots/TestVarcharKeyDiscovery index b98fa33943..e7a69d1706 100644 --- a/source-sqlserver/.snapshots/TestVarcharKeyDiscovery +++ b/source-sqlserver/.snapshots/TestVarcharKeyDiscovery @@ -28,6 +28,28 @@ Binding 0: }, "allOf": [ { + "if": { + "properties": { + "_meta": { + "properties": { + "op": { + "const": "d" + } + } + } + } + }, + "then": { + "reduce": { + "delete": true, + "strategy": "merge" + } + }, + "else": { + "reduce": { + "strategy": "merge" + } + }, "required": [ "_meta" ], @@ -100,9 +122,6 @@ Binding 0: "strategy": "merge" } } - }, - "reduce": { - "strategy": "merge" } }, {