JingsongLi commented on code in PR #7125:
URL: https://github.com/apache/paimon/pull/7125#discussion_r2730381850
##########
paimon-format/src/main/java/org/apache/paimon/format/blob/BlobFormatWriter.java:
##########
@@ -80,7 +80,10 @@ public boolean deleteFileUponAbort() {
@Override
public void addElement(InternalRow element) throws IOException {
checkArgument(element.getFieldCount() == 1, "BlobFormatWriter only
support one field.");
- checkArgument(!element.isNullAt(0), "BlobFormatWriter only support
non-null blob.");
+ if (element.isNullAt(0)) {
+ lengths.add(-1L);
+ return;
Review Comment:
It is better to notify this to `writeConsumer`.
--
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]