Implement BytesWritable in DataWritableWriter Class in parquet
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 1.6k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 33
Description
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 ).
**Reporter**: [Suresh Bahuguna](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=subahugu)
**Note**: *This issue was originally created as [PARQUET-795](https://issues.apache.org/jira/browse/PARQUET-795). Please see the [migration documentation](https://issues.apache.org/jira/browse/PARQUET-2502) for further details.*
Contributor guide
No contributing guide indexed for this repository
Research direction
Start in org.apache.hadoop.hive.ql.io.parquet.write.DataWritableWriter and inspect writePremitive() alongside its existing Writable handling. Check how binaryWritable is used for string data, then verify that BytesWritable values are handled without requiring a new object for every record; the issue is done when this support is covered by the relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- data-engineering
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100