You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Doug Cutting (JIRA)" <ji...@apache.org> on 2013/02/20 01:43:13 UTC
[jira] [Created] (AVRO-1259) improve Trevni encoding of sparse
fields
Doug Cutting created AVRO-1259:
----------------------------------
Summary: improve Trevni encoding of sparse fields
Key: AVRO-1259
URL: https://issues.apache.org/jira/browse/AVRO-1259
Project: Avro
Issue Type: Improvement
Components: trevni
Reporter: Doug Cutting
If in most records a field is null, Trevni writes a null byte (zero length) for that record in that column. This might be optimized by instead using a run-length encoding for lengths. The length is signed, so negative lengths might be used to indicate the number of zero-lengths before the next non-zero value. This could thus be back-compatible.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira