On Thu, May 7, 2020 at 3:34 PM Antoine Pitrou <anto...@python.org> wrote:
>
>
> Le 07/05/2020 à 21:32, Micah Kornfield a écrit :
> > 2.  Adding the missing methods 'field(index)' function to StructType or add
> > 'child(index)' to Schema?
>
> Both sound fine to me.
>

There's a JIRA https://issues.apache.org/jira/browse/ARROW-3509 about
this. I might lean toward normalizing on the "field" name

> > If we pursue this approach do people have a
> > preference on trying to make a common ancestor interface and making these
> > virtual method calls?  Or using the naming correspondence inside of
> > templated code?
>
> Use the naming correspondence.  IMHO there's no reason for an interface.

Agreed

>
> Regards
>
> Antoine.

Reply via email to