Commits


alexandreyc authored and Kouhei Sutou committed 947e95faeea
ARROW-4971: [Go] Add type equality test function Hello, In the quest for adding support for array comparison (equality) I just added type comparison. For the moment it considers metadata (only applies to STRUCT type) in the comparison. In the C++ implementation they have a flag to ignore metadata. Do you think we should have it too? Feel free to give me your feedback! A Author: alexandreyc <alexandre.crayssac@gmail.com> Closes #3981 from alexandreyc/type-equals and squashes the following commits: 049831aa8 <alexandreyc> Add documentation f828543d6 <alexandreyc> Update to more idiomatic args list for TypeEquals e1a49893f <alexandreyc> Update checkMetadata flag to functionnal option 20898f7ff <alexandreyc> Update to use sub tests a9d5d8eeb <alexandreyc> Update to more idiomatic for range-based loop 0defb8961 <alexandreyc> Add flag to check for metadata equality 289c5a760 <alexandreyc> Remove old code 8cee59002 <alexandreyc> Add type equality test function