JingsongLi commented on code in PR #6392:
URL: https://github.com/apache/paimon/pull/6392#discussion_r2425594478
##########
paimon-common/src/main/java/org/apache/paimon/data/Blob.java:
##########
@@ -63,4 +64,12 @@ static Blob fromFile(FileIO fileIO, String file, long
offset, long length) {
static Blob fromDescriptor(UriReader reader, BlobDescriptor descriptor) {
return new BlobRef(reader, descriptor);
}
+
+ static Blob fromInputStream(InputStream inputStream) {
Review Comment:
Maybe the API should be `fromInputStream(Supplier<SeekableInputStream>
supplier)`.
--
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]