Skip to content

Commit

Permalink
[Go] Fix fixed size list type serialization (#73)
Browse files Browse the repository at this point in the history
Signed-off-by: sunby <[email protected]>
  • Loading branch information
sunby committed Oct 9, 2023
1 parent c7c9867 commit c040a79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions go/common/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ func GetFields(dataType arrow.DataType) []arrow.Field {
case arrow.MAP:
mapType, _ := dataType.(*arrow.MapType)
return mapType.Fields()
case arrow.FIXED_SIZE_LIST:
listType, _ := dataType.(*arrow.FixedSizeListType)
return listType.Fields()
default:
return nil
}
Expand Down

0 comments on commit c040a79

Please sign in to comment.