yuzyf opened a new issue, #1377: URL: https://github.com/apache/incubator-paimon/issues/1377
### Search before asking - [X] I searched in the [issues](https://github.com/apache/incubator-paimon/issues) and found nothing similar. ### Motivation TableResult tableResult = tenv.executeSql("SELECT project__id,dept__id FROM paimon_catalog.test.production_plan_development WHERE plan_id = '" + planId + "' AND version = " + version); CloseableIterator<Row> iterator = tableResult.collect(); if (iterator.hasNext()) {} 现在这段代码查不到数据的话、就会在iterator.hasNext()进行阻塞、有数据就不会阻塞、我的理解是hasNext、没有数据不应该返回false直接跳过吗、现在有什么可以修改的方案吗、谢谢 ### Solution _No response_ ### Anything else? _No response_ ### Are you willing to submit a PR? - [ ] I'm willing to submit a PR! -- 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]
