nsivabalan commented on issue #6462:
URL: https://github.com/apache/hudi/issues/6462#issuecomment-1261628870
Looking at the code, this is what I can infer.
here is the code block of interest
```
if (mergeFileSlices) {
fileSliceStream = fsView.getLatestMergedFileSlicesBeforeOrOn(
partition,
metaClient.getActiveTimeline().filterCompletedInstants().lastInstant().get().getTimestamp());
} else {
.
}
```
lastInstant() is an option and looks like we are doing a get() on that. only
reason this may not return anything is, if table does not have any commits
only. i.e. metadata just got initialized, but before first commit completes in
metadata table, a query was triggered and hence this error. I assume the issue
is not persistant. it should not happen after sometime.
--
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]