diff --git a/go.mod b/go.mod index 07d04c6f..fb2fb8b0 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.23.0 require ( github.com/DataDog/datadog-go/v5 v5.5.0 - github.com/artie-labs/transfer v1.27.17 + github.com/artie-labs/transfer v1.27.19 github.com/aws/aws-sdk-go-v2 v1.30.3 github.com/aws/aws-sdk-go-v2/config v1.27.27 github.com/aws/aws-sdk-go-v2/credentials v1.17.27 diff --git a/go.sum b/go.sum index 5ec1a00e..7345d387 100644 --- a/go.sum +++ b/go.sum @@ -98,8 +98,8 @@ github.com/apache/thrift v0.0.0-20181112125854-24918abba929/go.mod h1:cp2SuWMxlE github.com/apache/thrift v0.14.2/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ= github.com/apache/thrift v0.17.0 h1:cMd2aj52n+8VoAtvSvLn4kDC3aZ6IAkBuqWQ2IDu7wo= github.com/apache/thrift v0.17.0/go.mod h1:OLxhMRJxomX+1I/KUw03qoV3mMz16BwaKI+d4fPBx7Q= -github.com/artie-labs/transfer v1.27.17 h1:8BQa+7YLrslllv8+ytbsZrfK+H/nFTXNb3fk+4ASOIQ= -github.com/artie-labs/transfer v1.27.17/go.mod h1:Lbrj8nz/cCq5BycDR++l3K+kc2GUbEnGRyrVDyA8MfM= +github.com/artie-labs/transfer v1.27.19 h1:OoO2pwkU+H/XYeh4sHLI7vjkFvITuoHRTLkjFN8Bkv8= +github.com/artie-labs/transfer v1.27.19/go.mod h1:Lbrj8nz/cCq5BycDR++l3K+kc2GUbEnGRyrVDyA8MfM= github.com/aws/aws-sdk-go v1.30.19/go.mod h1:5zCpMtNQVjRREroY7sYe8lOMRSxkhG6MZveU8YkpAk0= github.com/aws/aws-sdk-go-v2 v1.16.12/go.mod h1:C+Ym0ag2LIghJbXhfXZ0YEEp49rBWowxKzJLUoob0ts= github.com/aws/aws-sdk-go-v2 v1.30.3 h1:jUeBtG0Ih+ZIFH0F4UkmL9w3cSpaMv9tYYDbzILP8dY= diff --git a/integration_tests/mongo/main.go b/integration_tests/mongo/main.go index fd5b0437..5b7320b4 100644 --- a/integration_tests/mongo/main.go +++ b/integration_tests/mongo/main.go @@ -175,11 +175,11 @@ func testTypes(ctx context.Context, db *mongo.Database, mongoCfg config.MongoDB) expectedPayload := map[string]any{ "objectId": "66a95fae3776c2f21f0ff568", "array": []any{"item1", int32(2), true, 3.14}, - "datetime": ext.NewExtendedTime(ts, ext.TimestampTzKindType, "2006-01-02T15:04:05.999-07:00"), + "datetime": ext.NewExtendedTime(ts, ext.TimestampTZKindType, "2006-01-02T15:04:05.999-07:00"), "int64": int64(64), "__artie_delete": false, "__artie_only_set_delete": false, - "timestamp": ext.NewExtendedTime(ts, ext.TimestampTzKindType, "2006-01-02T15:04:05.999-07:00"), + "timestamp": ext.NewExtendedTime(ts, ext.TimestampTZKindType, "2006-01-02T15:04:05.999-07:00"), "embeddedDocument": `{"field1":"value1","field2":"value2"}`, "embeddedMap": `{"foo":"bar","hello":"world","pi":3.14159}`, "binary": `{"$binary":{"base64":"YmluYXJ5IGRhdGE=","subType":"00"}}`, diff --git a/lib/mongo/message_test.go b/lib/mongo/message_test.go index 70af4a74..75d80928 100644 --- a/lib/mongo/message_test.go +++ b/lib/mongo/message_test.go @@ -106,7 +106,7 @@ func TestParseMessage(t *testing.T) { "decimal": "1234.5", "subDocument": `{"nestedString":"Nested value"}`, "array": []any{"apple", "banana", "cherry"}, - "datetime": ext.NewExtendedTime(time.Date(2024, time.February, 13, 20, 37, 48, 0, time.UTC), ext.TimestampTzKindType, "2006-01-02T15:04:05.999-07:00"), + "datetime": ext.NewExtendedTime(time.Date(2024, time.February, 13, 20, 37, 48, 0, time.UTC), ext.TimestampTZKindType, "2006-01-02T15:04:05.999-07:00"), "trueValue": true, "falseValue": false, "nullValue": nil,