Yida Wu has posted comments on this change. ( http://gerrit.cloudera.org:8080/16638 )
Change subject: IMPALA-10102 Fix Impalad crashes when writing a parquet file with large rows. ...................................................................... Patch Set 3: (2 comments) http://gerrit.cloudera.org:8080/#/c/16638/2/be/src/runtime/mem-pool.h File be/src/runtime/mem-pool.h: http://gerrit.cloudera.org:8080/#/c/16638/2/be/src/runtime/mem-pool.h@312 PS2, Line 312: > I believe #defines are generally discouraged in headers and inline function I changed it to not modify the header file, and put all the logic in the source file, which is consistent with the similar null pointer checking logic in hdfs-parquet-scanner.cc. http://gerrit.cloudera.org:8080/#/c/16638/2/be/src/runtime/mem-pool.h@315 PS2, Line 315: > I think, you could also pass the RuntimeState* instead of nullptr here. In Done -- To view, visit http://gerrit.cloudera.org:8080/16638 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I0dee474cceb0c370278d290eb900c05769b23dec Gerrit-Change-Number: 16638 Gerrit-PatchSet: 3 Gerrit-Owner: Yida Wu <[email protected]> Gerrit-Reviewer: Abhishek Rawat <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Yida Wu <[email protected]> Gerrit-Comment-Date: Sat, 24 Oct 2020 02:31:35 +0000 Gerrit-HasComments: Yes
