Re: How to get "standard" binary columns out of a pyarrow table

2018-02-01 Thread Eli
ou have a link to the specification for the binary protocol for >>>>> the database you are using (or some other documentation)? >>>>> Thanks, >>>>> Wes >>>>> On Wed, Jan 10, 2018 at 12:47 AM, Eli h5r...@protonmail.ch wrote: >>>&g

Re: How to get "standard" binary columns out of a pyarrow table

2018-02-01 Thread Wes McKinney
;>>On Wed, Jan 10, 2018 at 12:47 AM, Eli h5r...@protonmail.ch wrote: >>>>>Hey Wes, >>>>> The database in question accepts columnar chunks of "regular" binary data >>>>> over the network, one of the sources of which is parquet. >>>&

Re: How to get "standard" binary columns out of a pyarrow table

2018-02-01 Thread Eli
r the network, one of the sources of which is parquet. >>>> Thus, data only comes out of parquet on my side, and I was wondering how >>>> to get it out as "regular" binary columns. Something like tobytes() for an >>>> Arrow Column, or maybe read_asbyte

Re: How to get "standard" binary columns out of a pyarrow table

2018-01-31 Thread Wes McKinney
the sources of which is parquet. >>>Thus, data only comes out of parquet on my side, and I was wondering how to >>>get it out as "regular" binary columns. Something like tobytes() for an >>>Arrow Column, or maybe read_asbytes() for pa itself. The purpose is

Re: How to get "standard" binary columns out of a pyarrow table

2018-01-31 Thread Eli
pa itself. The purpose is to get to >>standard binary columns as fast as possible. >>Thanks, >> Eli >>Sent with ProtonMail Secure Email. >>> Original Message >>> Subject: Re: How to get "standard" binary columns out of a pyarrow table >>> L

Re: How to get "standard" binary columns out of a pyarrow table

2018-01-10 Thread Wes McKinney
for pa itself. The purpose is to get to > standard binary columns as fast as possible. > > Thanks, > Eli > > Sent with [ProtonMail](https://protonmail.com) Secure Email. > >> -------- Original Message >> Subject: Re: How to get "standard" binary

Re: How to get "standard" binary columns out of a pyarrow table

2018-01-09 Thread Eli
bytes() for an Arrow Column, or maybe read_asbytes() for pa itself. The purpose is to get to standard binary columns as fast as possible. Thanks, Eli Sent with [ProtonMail](https://protonmail.com) Secure Email. > Original Message -------- > Subject: Re: How to get "st

Re: How to get "standard" binary columns out of a pyarrow table

2018-01-09 Thread Wes McKinney
hi Eli, I'm wondering what kind of API you would want, if the perfect one existed. If I understand correctly, you are embedding objects in a BYTE_ARRAY column in Parquet, and need to do some post-processing as the data goes in / comes out of Parquet? Thanks, Wes On Sat, Jan 6, 2018 at 8:37 AM, E

How to get "standard" binary columns out of a pyarrow table

2018-01-06 Thread Eli
Hi, I'm looking to send "regular" columnar binary data to a database, the kind that gets created by struct.pack, array.array, numpy.tobytes or str.encode. The origin is parquet files, which I'm reading ever so comfortably via PyArrow. I do however need to deserialize to Python objcets, currentl