link3280 commented on issue #4806: URL: https://github.com/apache/kyuubi/issues/4806#issuecomment-1646736209
@bowenliang123 Now I'm in favor of the simple timeout solution you proposed. The more I coded the more I realized the divergence between the current result fetching and the streaming incremental one. The former assumes the results are ready, so when result `hasNext()==true`, users expect that there's always a row returned by `next()`. However, there's no guarantee of a new row for streaming incremental fetch, so `hasNext()==true` means there COULD BE a new row within a fetch timeout. That makes confusion for the semantics of result fetching and may surprise users. I'm closing this issue in flavor of https://github.com/apache/kyuubi/issues/5088. -- 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]
