impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Ho (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-5307: Part 4: copy out uncompressed text and seq
Date Mon, 06 Nov 2017 21:29:31 GMT
Michael Ho has posted comments on this change. ( )

Change subject: IMPALA-5307: Part 4: copy out uncompressed text and seq

Patch Set 11:

File be/src/exec/
PS11, Line 234: false
Should the callers pass an argument 'copy_strings' ? On the other hand, this may diverge from
the codegen'd path. May be a TODO for now ?
PS11, Line 313: TextConverter::CodegenWriteSlot
One thing I noticed is that the TextConverter::WriteSlot() already has logic to copy the char/varchar/string
to the argument 'pool' although the caller below at line 233 always passes 'copy_string' as
false. Not sure if you considered refactoring it or it's not worth it ?

Ideally, if we can propagate replace 'slot_desc' with a constant argument, we may be able
to re-use the logic in TextConverter::WriteSlot() and avoids the need for hand-crafted IR
in TextConverter::CodegenWriteSlot(). This doesn't have to be part of this change as this
patch is more about memory transfer.

May be a TODO ?

To view, visit
To unsubscribe, visit

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I304fd002b61bfedf41c8b1405cd7eb7b492bb941
Gerrit-Change-Number: 8172
Gerrit-PatchSet: 11
Gerrit-Owner: Tim Armstrong <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Michael Ho <>
Gerrit-Reviewer: Tim Armstrong <>
Gerrit-Comment-Date: Mon, 06 Nov 2017 21:29:31 +0000
Gerrit-HasComments: Yes

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message