nsivabalan commented on a change in pull request #3746:
URL: https://github.com/apache/hudi/pull/3746#discussion_r736511594
##########
File path:
hudi-common/src/main/java/org/apache/hudi/common/util/ParquetReaderIterator.java
##########
@@ -49,8 +49,9 @@ public boolean hasNext() {
this.next = parquetReader.read();
}
return this.next != null;
- } catch (IOException io) {
- throw new HoodieIOException("unable to read next record from parquet
file ", io);
+ } catch (Exception e) {
Review comment:
Not sure if we needed to change this . May I know whats the necessity to
move from IOException to Exception ? I understand higher layers can catch
HoodieExeception, but all classes doing I/O prefer throwing IOExceptions.
--
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]