Tim Armstrong has posted comments on this change. ( http://gerrit.cloudera.org:8080/8146 )
Change subject: IMPALA-5307: Part 2: copy out strings in uncompressed Avro ...................................................................... Patch Set 9: (4 comments) http://gerrit.cloudera.org:8080/#/c/8146/9/be/src/exec/hdfs-scanner.cc File be/src/exec/hdfs-scanner.cc: http://gerrit.cloudera.org:8080/#/c/8146/9/be/src/exec/hdfs-scanner.cc@543 PS9, Line 543: *init_tuple_fn = : codegen->GetFunction(IRFunction::HDFS_SCANNER_INIT_TUPLE, true); > single line? Done http://gerrit.cloudera.org:8080/#/c/8146/9/be/src/runtime/descriptors.cc File be/src/runtime/descriptors.cc: http://gerrit.cloudera.org:8080/#/c/8146/9/be/src/runtime/descriptors.cc@86 PS9, Line 86: ConstantAggregateZero* zeroes = : ConstantAggregateZero::get(null_indicator_offset_type); > single line? Done http://gerrit.cloudera.org:8080/#/c/8146/9/be/src/runtime/tuple.h File be/src/runtime/tuple.h: http://gerrit.cloudera.org:8080/#/c/8146/9/be/src/runtime/tuple.h@182 PS9, Line 182: Status* status > Its unusual to have s status as an out parameter instead of returning it. C That's a good point. I discovered for PhjBuilder::AppendRow() a while ago that the extra IR emitted noticeably hurt codegen time. Copied over the explanation from there. http://gerrit.cloudera.org:8080/#/c/8146/9/be/src/runtime/tuple.h@184 PS9, Line 184: Helper for MaterializeStrings() > If this isn't intended to be called outside this class, make it private? Good point - done. -- To view, visit http://gerrit.cloudera.org:8080/8146 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: If1fc78790d778c874f5aafa5958c3c045a88d233 Gerrit-Change-Number: 8146 Gerrit-PatchSet: 9 Gerrit-Owner: Tim Armstrong <tarmstr...@cloudera.com> Gerrit-Reviewer: Thomas Tauber-Marshall <tmarsh...@cloudera.com> Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com> Gerrit-Comment-Date: Fri, 20 Oct 2017 00:48:18 +0000 Gerrit-HasComments: Yes