You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by lz...@apache.org on 2026/02/27 05:21:16 UTC

(paimon) branch master updated: [core] Update comments of BlobDescriptor

This is an automated email from the ASF dual-hosted git repository.

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new c069fece0a [core] Update comments of BlobDescriptor
c069fece0a is described below

commit c069fece0a6429dbcea5acacad84ef2d0115d543
Author: JingsongLi <ji...@gmail.com>
AuthorDate: Fri Feb 27 13:19:02 2026 +0800

    [core] Update comments of BlobDescriptor
---
 .../main/java/org/apache/paimon/data/BlobDescriptor.java  | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/paimon-common/src/main/java/org/apache/paimon/data/BlobDescriptor.java b/paimon-common/src/main/java/org/apache/paimon/data/BlobDescriptor.java
index ad99076edd..1d7a256f1d 100644
--- a/paimon-common/src/main/java/org/apache/paimon/data/BlobDescriptor.java
+++ b/paimon-common/src/main/java/org/apache/paimon/data/BlobDescriptor.java
@@ -33,13 +33,14 @@ import static java.nio.charset.StandardCharsets.UTF_8;
  * Endian byte order.
  *
  * <pre>
- * | Offset (Bytes) | Field Name    | Type      | Size (Bytes) | Description                                         |
- * |----------------|---------------|-----------|--------------|-----------------------------------------------------|
- * | 0              | version       | byte      | 1            | Serialization structure version                     |
- * | 1              | uriLength     | int       | 4            | Length (N) of the URI string in UTF-8 bytes         |
- * | 5              | uriBytes      | byte[N]   | N            | UTF-8 encoded bytes of the URI string               |
- * | 5 + N          | offset        | long      | 8            | Starting offset of the Blob within the URI resource |
- * | 13 + N         | length        | long      | 8            | Length of the Blob data                             |
+ * | Offset | Field Name    | Type      | Size |
+ * |--------|---------------|-----------|------|
+ * | 0      | version       | byte      | 1    |
+ * | 1      | magicNumber   | long      | 8    |
+ * | 9      | uriLength     | int       | 4    |
+ * | 13     | uriBytes      | byte[N]   | N    |
+ * | 13 + N | offset        | long      | 8    |
+ * | 21 + N | length        | long      | 8    |
  * </pre>
  */
 public class BlobDescriptor implements Serializable {