liujinhui1994 commented on a change in pull request #3312:
URL: https://github.com/apache/hudi/pull/3312#discussion_r702519527
##########
File path:
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/AbstractHoodieWriteClient.java
##########
@@ -315,6 +315,17 @@ public void rollbackFailedBootstrap() {
*/
public abstract O insert(I records, final String instantTime);
+ /**
+ * Inserts the given Error HoodieRecords, into the table. This API is
intended to be used for normal writes.
+ * <p>
+ * This API is intended to be used to write wrong records.
+ *
+ * @param records Error HoodieRecords to insert
+ * @param instantTime Instant time of the commit
+ * @return Collection of WriteStatus to inspect errors and counts
+ */
+ public abstract O insertError(I records, final String instantTime);
Review comment:
sureļ¼done
--
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]