I don't think there's any constraint that says that dots are not valid
column names, so table->GetColumnByName(“a.b.c”) would have to look for a
column called “a.b.c”. But presumably you could instead chain together the
nested extractions like
table->GetColumnByName("a")->GetFieldByName("b")->GetFieldByName("c")(Note the different method name for StructArrays: see https://issues.apache.org/jira/browse/ARROW-11424) Neal On Mon, Aug 9, 2021 at 11:44 PM Micah Kornfield <[email protected]> wrote: > Someone else might chime in but to my knowledge I don't think is > implemented. > > On Thu, Aug 5, 2021 at 9:22 AM Yeshwanth Sriram <[email protected]> > wrote: > >> Hi, >> >> Could someone point me to an example code (C++) to extract nested columns >> from Arrow/Table (built from parquet) using dot notation in one go? >> >> Looking for something like “auto array = table->GetColumnByName(“a.b.c”)" >> >> Thank you. > >
