yuzelin commented on code in PR #4558:
URL: https://github.com/apache/paimon/pull/4558#discussion_r1851276904


##########
paimon-flink/paimon-flink-common/src/main/java/org/apache/paimon/flink/lookup/FileStoreLookupFunction.java:
##########
@@ -249,7 +250,7 @@ public Collection<RowData> lookup(RowData keyRow) {
                 rows.add(new FlinkRowData(matchedRow));
             }
             return rows;
-        } catch (OutOfRangeException e) {
+        } catch (OutOfRangeException | DimScanOverwriteException e) {

Review Comment:
   Because the StreamScan doesn't read OVERWRITE snapshot (in most cases), so 
that dim table cannot refresh data when you overwrite the dim table. Here we 
just reopen the lookup table to reload the full data of dim table.



-- 
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: issues-unsubscr...@paimon.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to