I see. I guess you are doing key comparison on the Field's metadata. Thanks for the clarification
On Sat, Feb 6, 2021 at 12:27 PM Neville Dipale <nevilled...@gmail.com> wrote: > We had to use the BTreeMap because a HashMap doesn't implement Hash, so > can't be used in the Field. > > The easiest way to see this, is to replace it with a HashMap, and try > compile the arrow crate. > > Neville > > On Sat, 06 Feb 2021, 13:50 Fernando Herrera, <fernando.j.herr...@gmail.com > > > wrote: > > > Hi all, Is there a reason why the Field metadata is a BTreeMap and > Schema's > > metadata is a HashMap? > > > > I'm just curious why different structures were selected for the same > thing. > > Sorry if this is explained somewhere in the code, but I couldn't find > > anything about it. > > > > Fernando, > > >