From 2c245c6b0f487b050921b4a2e8ffa153ef201fc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Fri, 3 Jan 2025 05:35:27 +0000 Subject: [PATCH] match hex uppercase of cdc in initial load --- flow/model/qvalue/avro_converter.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flow/model/qvalue/avro_converter.go b/flow/model/qvalue/avro_converter.go index de446a106..d860b5be7 100644 --- a/flow/model/qvalue/avro_converter.go +++ b/flow/model/qvalue/avro_converter.go @@ -7,6 +7,7 @@ import ( "errors" "fmt" "log/slog" + "strings" "time" "github.com/google/uuid" @@ -526,7 +527,7 @@ func (c *QValueAvroConverter) processBytes(byteData []byte, format peerdbenv.Bin case peerdbenv.BinaryFormatBase64: encoded = base64.StdEncoding.EncodeToString(byteData) case peerdbenv.BinaryFormatHex: - encoded = hex.EncodeToString(byteData) + encoded = strings.ToUpper(hex.EncodeToString(byteData)) default: panic(fmt.Sprintf("unhandled binary format: %d", format)) }