yihua commented on code in PR #13841:
URL: https://github.com/apache/hudi/pull/13841#discussion_r2323947038
##########
hudi-hadoop-mr/src/main/java/org/apache/hudi/hadoop/HiveHoodieReaderContext.java:
##########
@@ -229,13 +229,17 @@ public long getPos() throws IOException {
if (firstRecordReader != null) {
return firstRecordReader.getPos();
}
- throw new IllegalStateException("getPos() should not be called before a
record reader has been initialized");
Review Comment:
Should we still throw `IllegalStateException` if the input split has a base
file and `firstRecordReader` is `null`? Is that possible?
--
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]