[
https://issues.apache.org/jira/browse/PARQUET-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15741029#comment-15741029
]
Suresh Bahuguna commented on PARQUET-795:
-----------------------------------------
Created a pull request https://github.com/apache/parquet-mr/pull/392 .
> Implement BytesWritable in DataWritableWriter Class in parquet
> --------------------------------------------------------------
>
> Key: PARQUET-795
> URL: https://issues.apache.org/jira/browse/PARQUET-795
> Project: Parquet
> Issue Type: Improvement
> Components: parquet-mr
> Affects Versions: 1.7.0
> Reporter: Suresh Bahuguna
>
> Implement BytesWritable in
> org.apache.hadoop.hive.ql.io.parquet.write.DataWritableWriter Class in
> parquet .
> writePremitive() api of this class has major Writable but not BytesWritable
> (Note - it has ByteWritable which is just 1 byte) . So we have to use the
> binaryWritable class . However binaryWritable does not have the set function
> which means for each record we have to call new (no of times string data type
> occurs ).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)