Skip to content

Commit

Permalink
Merge branch 'master' into dana/soft-delete-behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
danafallon authored Jun 25, 2024
2 parents a88793b + 46c8cac commit bb1825b
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 38 deletions.
24 changes: 12 additions & 12 deletions lib/cdc/relational/debezium_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -340,18 +340,18 @@ func (r *RelationTestSuite) TestGetEventFromBytes_MySQL() {
"optional": false,
"field": "abcDEF"
}, {
"type": "map",
"keys": {
"type": "string",
"optional": false
},
"values": {
"type": "string",
"optional": true
},
"optional": false,
"field": "custom_fields"
}],
"type": "map",
"keys": {
"type": "string",
"optional": false
},
"values": {
"type": "string",
"optional": true
},
"optional": false,
"field": "custom_fields"
}],
"optional": true,
"name": "mysql1.inventory.customers.Value",
"field": "after"
Expand Down
48 changes: 24 additions & 24 deletions lib/debezium/keys_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,30 +91,30 @@ func TestParsePartitionKeyStruct(t *testing.T) {
// Schema
keys, err := parsePartitionKeyStruct([]byte(`
{
"schema": {
"type": "struct",
"fields": [
{
"type": "string",
"optional": false,
"field": "id"
},
{
"type": "int64",
"optional": false,
"name": "io.debezium.time.Timestamp",
"version": 1,
"default": 0,
"field": "created_at"
}
],
"optional": false,
"name": "b2810475-5d57-48b5-b525-7eaa208d75a0.8024ffce-67eb-472c-99e5-1d9419cdf943.public.message_consents.Key"
},
"payload": {
"id": "339f3f2f-f29f-4f00-869e-476122310eff",
"created_at": 1713229699440
}
"schema": {
"type": "struct",
"fields": [
{
"type": "string",
"optional": false,
"field": "id"
},
{
"type": "int64",
"optional": false,
"name": "io.debezium.time.Timestamp",
"version": 1,
"default": 0,
"field": "created_at"
}
],
"optional": false,
"name": "b2810475-5d57-48b5-b525-7eaa208d75a0.8024ffce-67eb-472c-99e5-1d9419cdf943.public.message_consents.Key"
},
"payload": {
"id": "339f3f2f-f29f-4f00-869e-476122310eff",
"created_at": 1713229699440
}
}
`))
assert.NoError(t, err)
Expand Down
2 changes: 1 addition & 1 deletion lib/typing/mongo/bson_bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func BenchmarkJSONEToMap(b *testing.B) {
}
},
"test_timestamp": {
"$timestamp": { "t": 1678929517, "i": 1 }
"$timestamp": { "t": 1678929517, "i": 1 }
},
"test_nan": NaN,
"test_nan_string": "NaN",
Expand Down
2 changes: 1 addition & 1 deletion lib/typing/mongo/bson_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func TestJSONEToMap(t *testing.T) {
}
},
"test_timestamp": {
"$timestamp": { "t": 1678929517, "i": 1 }
"$timestamp": { "t": 1678929517, "i": 1 }
},
"test_nan": NaN,
"test_nan_string": "NaN",
Expand Down

0 comments on commit bb1825b

Please sign in to comment.