Apache Avro · PR #3878
BytesWritableConverter should respect logical length
BytesWritable may use a backing array larger than its logical value. The converter was serializing the entire backing array — including unused bytes. The fix makes it respect BytesWritable.getLength() and serialize only the actual value.
- Status
- Merged into
main, cherry-picked intobranch-1.12 - Files
- 2 changed · 16 additions · 1 deletion · 1 commit
- Validation
- Focused regression test passed
- Full Java mapred module suite passed
- 110 tests, 0 failures, 0 errors, 0 skipped
- Spotless passed
- Maintainer
- “Thanks again for the fix.”