pan3793 commented on code in PR #4701:
URL: https://github.com/apache/kyuubi/pull/4701#discussion_r1166262891
##########
externals/kyuubi-flink-sql-engine/src/main/scala/org/apache/kyuubi/engine/flink/operation/ExecuteStatement.scala:
##########
@@ -115,16 +115,16 @@ class ExecuteStatement(
while (loop) {
Thread.sleep(50) // slow the processing down
- val pageSize = Math.min(500, resultMaxRows)
- val result = executor.snapshotResult(sessionId, resultId, pageSize)
+ val result = executor.snapshotResult(sessionId, resultId,
resultMaxRows)
Review Comment:
If I understand correctly, this change fixes a correctness issue, but breaks
the original design - retrieve the result in small pages to avoid OOM, am I
right?
also cc @link3280 and @bowenliang123
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]