Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,9 @@ public void write(RowData tuple) throws IOException {
}
handle.write(recordKey, partitionPath, record);
} catch (Throwable throwable) {
LOG.error("Global error thrown while trying to write records in HoodieRowDataCreateHandle", throwable);
throw throwable;
IOException ioException = new IOException("Exception happened when bulk insert.", throwable);
LOG.error("Global error thrown while trying to write records in HoodieRowDataCreateHandle", ioException);
throw ioException;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,9 @@ public void write(RowData record) throws IOException {
}
handle.write(recordKey, partitionPath, record);
} catch (Throwable t) {
LOG.error("Global error thrown while trying to write records in HoodieRowCreateHandle ", t);
throw t;
IOException ioException = new IOException("Exception happened when bulk insert.", t);
LOG.error("Global error thrown while trying to write records in HoodieRowCreateHandle ", ioException);
throw new IOException(ioException);
}
}

Expand Down