You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2017/10/11 01:03:00 UTC
[jira] [Created] (IMPALA-6039) BitReader::GetAligned() doesn't zero
out trailing bytes
Tim Armstrong created IMPALA-6039:
-------------------------------------
Summary: BitReader::GetAligned() doesn't zero out trailing bytes
Key: IMPALA-6039
URL: https://issues.apache.org/jira/browse/IMPALA-6039
Project: IMPALA
Issue Type: Bug
Components: Backend
Affects Versions: Impala 2.11.0
Reporter: Tim Armstrong
Assignee: Tim Armstrong
Priority: Minor
BitReader::GetAligned() only sets the initial bytes of the output value, leaving the remaining bytes set to whatever they were previously. It isn't clear if this is intentional and undocumented or a latent bug.
The problem is non-obvious because the current callsites either call it with a single byte at a time (GetVlqInt()), or initialize the output value to zero and always call GetAligned() with the same num_bytes value (RleDecoder).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)