You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "yevgenypats (via GitHub)" <gi...@apache.org> on 2023/04/17 20:52:27 UTC

[GitHub] [arrow] yevgenypats commented on a diff in pull request #35161: GH-35160: [Go] Add arrayApproxEqualString to ignore null chars

yevgenypats commented on code in PR #35161:
URL: https://github.com/apache/arrow/pull/35161#discussion_r1169255815


##########
go/arrow/array/binarybuilder.go:
##########
@@ -319,7 +320,10 @@ func (b *BinaryBuilder) UnmarshalOne(dec *json.Decoder) error {
 	case string:
 		data, err := base64.StdEncoding.DecodeString(v)
 		if err != nil {
-			return err
+			data, err = hex.DecodeString(v)
+			if err != nil {
+				return err
+			}

Review Comment:
   Hmm....Prob it was in another branch and ended up here. will remove



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org