Re: Byte ordering/Endianness revisited

2016-04-24 Thread Micah Kornfield
ian data is ever encountered for the time >> being. >> >> Yeah an endianness flag would be needed in IPC to let the other side to >> know the endianness in the wire packets since there is a potential need to >> tweak in some cases. >> >> Regards, >> Kai &g

Re: Byte ordering/Endianness revisited

2016-04-23 Thread Jacques Nadeau
the wire packets since there is a potential need to > tweak in some cases. > > Regards, > Kai > > -Original Message- > From: Wes McKinney [mailto:w...@cloudera.com] > Sent: Saturday, April 23, 2016 11:07 PM > To: dev@arrow.apache.org; Micah Kornfield > Subject: R

RE: Byte ordering/Endianness revisited

2016-04-23 Thread Zheng, Kai
otential need to tweak in some cases. Regards, Kai -Original Message- From: Wes McKinney [mailto:w...@cloudera.com] Sent: Saturday, April 23, 2016 11:07 PM To: dev@arrow.apache.org; Micah Kornfield Subject: Re: Byte ordering/Endianness revisited I don't see a problem adding endiannes

Re: Byte ordering/Endianness revisited

2016-04-23 Thread Wes McKinney
I don't see a problem adding endianness as a flag in the IPC metadata, and raise exceptions if big-endian data is ever encountered for the time being. Since big-endian hardware is so exotic nowadays, I don't think it's unreasonable to expect IBM or other hardware vendors requiring big-endian suppor

Byte ordering/Endianness revisited

2016-04-22 Thread Micah Kornfield
This was discussed on a previous thread (https://mail-archives.apache.org/mod_mbox/arrow-dev/201604.mbox/%3CCAKa9qDkppFrJQCHsSN7CmkJCzOTAhGPERMd_u2CMZANNQGtNyw%40mail.gmail.com%3E the relevant snippet is pasted below). But I'd like to reopen this because it appears Spark supports big endian system