You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "candiduslynx (via GitHub)" <gi...@apache.org> on 2023/06/07 18:46:48 UTC

[GitHub] [arrow] candiduslynx commented on a diff in pull request #35983: GH-35982: [Go] Fix go1.18 broken builds

candiduslynx commented on code in PR #35983:
URL: https://github.com/apache/arrow/pull/35983#discussion_r1222024655


##########
go/arrow/compute/exprs/types.go:
##########
@@ -623,7 +623,7 @@ func ToSubstraitType(dt arrow.DataType, nullable bool, ext ExtensionIDSet) (type
 		if err != nil {
 			return nil, err
 		}
-		valueType, err := ToSubstraitType(dt.ValueType(), dt.ValueField().Nullable, ext)
+		valueType, err := ToSubstraitType(dt.Elem(), dt.ElemField().Nullable, ext)

Review Comment:
   This is wrong, as the value here is a value in `key-value pair` sense, so it has to be `Item` in `arrow.MapType`



-- 
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