pvary commented on code in PR #18149:
URL: https://github.com/apache/iceberg/pull/18149#discussion_r4511637288
##########
flink/v2.3/flink/src/main/java/org/apache/iceberg/flink/source/lookup/IcebergFullCachingLookupFunction.java:
##########
@@ -184,19 +249,25 @@ private void loadCache() throws IOException {
loaded.add(extractKey(row), rowSerializer.toBinaryRow(row).copy());
Review Comment:
Shall we exit the current reading when closed?
```suggestion
if (closed) {
return;
}
loaded.add(extractKey(row), rowSerializer.toBinaryRow(row).copy());
```
--
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]