You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/11/12 11:19:01 UTC
[jira] [Commented] (AVRO-2262) Java compression codec improvements
[ https://issues.apache.org/jira/browse/AVRO-2262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16683594#comment-16683594 ]
ASF subversion and git services commented on AVRO-2262:
-------------------------------------------------------
Commit 07bd95a82f93458196d44f8e285435a865d3d70d in avro's branch refs/heads/master from jacobtolar
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=07bd95a ]
AVRO-2262 Java compression codec fixes. (#352)
AVRO-2262 Java compression codec improvements
> Java compression codec improvements
> -----------------------------------
>
> Key: AVRO-2262
> URL: https://issues.apache.org/jira/browse/AVRO-2262
> Project: Apache Avro
> Issue Type: Task
> Components: java
> Affects Versions: 1.8.2
> Reporter: Fokko Driesprong
> Assignee: Jacob Tolar
> Priority: Major
> Fix For: 1.9.0
>
>
> * Update a few things to use try-with-resources
> * Updated CodecFactory to reference constants for codec names
> * Fixed a small bug in Snappy and BZip2: compression/decompression were incorrect if the input ByteBuffer was a a slice(). I don't see anywhere that this would actually happen currently, but some codecs were written to account for this correctly; now they're all correct. Updated everything to compute the correct offset into the underlying array. (I can add a test for this in TestAllCodecs once #351 is merged).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)