Skip to content

Commit

Permalink
match hex uppercase of cdc in initial load
Browse files Browse the repository at this point in the history
  • Loading branch information
serprex committed Jan 3, 2025
1 parent d175ab7 commit 2c245c6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion flow/model/qvalue/avro_converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"errors"
"fmt"
"log/slog"
"strings"
"time"

"github.com/google/uuid"
Expand Down Expand Up @@ -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))
}
Expand Down

0 comments on commit 2c245c6

Please sign in to comment.