Re: Passing File Descriptors in the Low-Level API

2019-03-16 Thread Brian Bowman
Thanks Wes! I'm working on the integrating and testing the necessary changes in our dev environment. I'll submit a PR once things are working. Best, Brian On 3/16/19, 4:24 PM, "Wes McKinney" wrote: EXTERNAL hi Brian, Please feel free to submit a PR to add the

Re: Passing File Descriptors in the Low-Level API

2019-03-16 Thread Wes McKinney
hi Brian, Please feel free to submit a PR to add the requisite APIs that you need for your application. Antoine or I or others should be able to give prompt feedback since we know this code pretty well. Thanks Wes On Sat, Mar 16, 2019 at 11:40 AM Brian Bowman wrote: > > Hi Wes, > > Thanks for

Re: Passing File Descriptors in the Low-Level API

2019-03-16 Thread Brian Bowman
Hi Wes, Thanks for the quick reply! To be clear, the usage I'm working on needs to own both the Open FileDescriptor and corresponding mapped memory. In other words ... SAS component does both open() and mmap() which could be for READ or WRITE. -> Calls low-level Parquet APIs to read an

Re: Passing File Descriptors in the Low-Level API

2019-03-14 Thread Wes McKinney
hi Brian, This is mostly an Arrow platform question so I'm copying the Arrow mailing list. You can open a file using an existing file descriptor using ReadableFile::Open https://github.com/apache/arrow/blob/master/cpp/src/arrow/io/file.h#L145 The documentation for this function says: "The