Re: C++ Helpers for Row and Arrow conversions

2022-05-31 Thread Will Jones
For those interested, the PR for this new API is ready for review here: https://github.com/apache/arrow/pull/12775 On Wed, Apr 6, 2022 at 11:17 AM Will Jones wrote: > Hello, > > I've fleshed out the ideas in the doc in this draft PR: > https://github.com/apache/arrow/pull/12775 > > Feedback on t

Re: C++ Helpers for Row and Arrow conversions

2022-04-06 Thread Will Jones
Hello, I've fleshed out the ideas in the doc in this draft PR: https://github.com/apache/arrow/pull/12775 Feedback on the API design is still welcome. Best, Will Jones On Thu, Mar 24, 2022 at 10:25 AM Will Jones wrote: > Antoine, > > That's a good question. I think there's a critical part th

Re: C++ Helpers for Row and Arrow conversions

2022-03-24 Thread Will Jones
Antoine, That's a good question. I think there's a critical part that I haven't articulated well in the doc yet. When converting from Arrow's columnar format to Rows, you have three options: (1) Go through the record batch row-by-row (2) Iterate through each column of record batch, add column va

Re: C++ Helpers for Row and Arrow conversions

2022-03-24 Thread Antoine Pitrou
Hello Will, So the added value would simply be the automatic definition of iterator-returning methods? Or am I missing something? Regards Antoine. Le 23/03/2022 à 19:36, Will Jones a écrit : Hello Arrow devs, I recently created ARROW-16006 [1] ("Helpers for converting between rows and A

C++ Helpers for Row and Arrow conversions

2022-03-23 Thread Will Jones
Hello Arrow devs, I recently created ARROW-16006 [1] ("Helpers for converting between rows and Arrow objects"), and would appreciate feedback. It's meant for conversion from arbitrary schemas, whereas the existing C++ examples demonstrate fixed schemas (that is, known at compile-time). If you hav