Alexey Serbin has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/23581 )

Change subject: KUDU-1261 use --array_cell_max_elem_num for encoder buffer 
estimate
......................................................................

KUDU-1261 use --array_cell_max_elem_num for encoder buffer estimate

This changelist addresses TODO in cfile_writer.cc, using recently
introduced --array_cell_max_elem_num flag instead of hard-coded
constant to estimate the initial buffer size for non-null/validity
RLE encoders.

I also corrected the estimate for the initial size of the memory buffer
used by RLE encoders that build non-null/validity bitmaps.

Change-Id: I99fbe2fcaf68e8a67eebd5d0059571929418a31b
Reviewed-on: http://gerrit.cloudera.org:8080/23581
Reviewed-by: Abhishek Chennaka <[email protected]>
Tested-by: Alexey Serbin <[email protected]>
---
M src/kudu/cfile/cfile_writer.cc
1 file changed, 17 insertions(+), 19 deletions(-)

Approvals:
  Abhishek Chennaka: Looks good to me, approved
  Alexey Serbin: Verified

--
To view, visit http://gerrit.cloudera.org:8080/23581
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I99fbe2fcaf68e8a67eebd5d0059571929418a31b
Gerrit-Change-Number: 23581
Gerrit-PatchSet: 3
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Abhishek Chennaka <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)

Reply via email to