Riza Suminto has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/16884 )

Change subject: IMPALA-10374: Limit iteration at 
BufferedTupleStream::DebugString
......................................................................


Patch Set 2:

(5 comments)

http://gerrit.cloudera.org:8080/#/c/16884/1/be/src/runtime/buffered-tuple-stream-test.cc
File be/src/runtime/buffered-tuple-stream-test.cc:

http://gerrit.cloudera.org:8080/#/c/16884/1/be/src/runtime/buffered-tuple-stream-test.cc@1472
PS1, Line 1472: SimpleTupleStreamTest
> nit: To be consistent with other tests, I think the label should be "Simple
Done


http://gerrit.cloudera.org:8080/#/c/16884/1/be/src/runtime/buffered-tuple-stream-test.cc@1485
PS1, Line 1485: bool b = stream.AddRow(batch->GetRow(j), &status);
> I think we can remove this TODO.
Done


http://gerrit.cloudera.org:8080/#/c/16884/1/be/src/runtime/buffered-tuple-stream-test.cc@1508
PS1, Line 1508:
> Can we calculate 148 out based on the vars? I'm concerning it will introduc
It is not obvious for me to calculate it based on the vars.
So instead, I change it to look up stream.num_pages_ directly and add 
verification that num_pages_ > MAX_PAGE_ITER_DEBUG, given the workload.


http://gerrit.cloudera.org:8080/#/c/16884/2/be/src/runtime/buffered-tuple-stream.h
File be/src/runtime/buffered-tuple-stream.h:

http://gerrit.cloudera.org:8080/#/c/16884/2/be/src/runtime/buffered-tuple-stream.h@563
PS2, Line 563:   friend class ArrayTupleStreamTest_TestArrayDeepCopy_Test;
             :   friend class ArrayTupleStreamTest_TestComputeRowSize_Test;
             :   friend class 
MultiNullableTupleStreamTest_TestComputeRowSize_Test;
I notice that since IMPALA-10337 changed BufferedTupleStream::ComputeRowSize() 
from private to public, these lines are not required anymore.
Can I delete them along with this patch?


http://gerrit.cloudera.org:8080/#/c/16884/1/be/src/runtime/buffered-tuple-stream.cc
File be/src/runtime/buffered-tuple-stream.cc:

http://gerrit.cloudera.org:8080/#/c/16884/1/be/src/runtime/buffered-tuple-stream.cc@189
PS1, Line 189: \
> Comparing to the original codes, we should have "\n" here.
Done. Thanks for catching this!



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I6626c8d54f35f303c01f85be1dd9aa54c8ad9a2d
Gerrit-Change-Number: 16884
Gerrit-PatchSet: 2
Gerrit-Owner: Riza Suminto <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>
Gerrit-Comment-Date: Mon, 21 Dec 2020 22:14:24 +0000
Gerrit-HasComments: Yes

Reply via email to