[
https://issues.apache.org/jira/browse/PARQUET-228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Manish Agarwal resolved PARQUET-228.
------------------------------------
Resolution: Invalid
Reading from hive is wrong since my hive is old with no binary support . It was
showing hex of string instead if hex from binary
> parquet Binary Writable result is not proper
> --------------------------------------------
>
> Key: PARQUET-228
> URL: https://issues.apache.org/jira/browse/PARQUET-228
> Project: Parquet
> Issue Type: Bug
> Reporter: Manish Agarwal
>
> My table is having a binary column . I pushed 2 bytes it which were FF FF .
> values[i]= new BinaryWritable(Binary.fromByteArray(bytes,offset,length));
> When i do a print of Binary.fromByteArray(bytes,offset,length) i get
> binary is [Binary{2 bytes, [-1, -1]}]
> Now when I read the same from hive using
> hive -e "select hex(binarycolumn) from mytable;" > /data/myresultFile
> I get EFBFBDEFBFBD instead of FFFF .
> What am i doing wrong ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)