Skip to content

Commit 9fabe62

Browse files
beinanclaude
andcommitted
fix: resolve checkstyle and javadoc CI failures
Remove lines over 100 chars and fix malformed HTML in javadoc. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent e38f972 commit 9fabe62

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

lance-spark-base_2.12/src/main/java/org/lance/spark/utils/BlobReference.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
*
2626
* <p>When a blob column is read from a Lance table and flows through Spark's shuffle (e.g. during a
2727
* JOIN + INSERT INTO), the actual blob bytes are NOT materialized. Instead, a small BlobReference
28-
* (~200 bytes) is serialized as the binary value. The write side detects these references, opens the
28+
* (~200 bytes) is serialized as the binary value. The write side detects
29+
* these references, opens the
2930
* source dataset, fetches the actual blob bytes via {@code Dataset.takeBlobs()}, and writes them to
3031
* the target table.
3132
*
@@ -44,7 +45,7 @@ public class BlobReference {
4445
/** Magic header bytes to identify a serialized BlobReference. */
4546
public static final byte[] MAGIC = {'L', 'B', 'R', 'F'};
4647

47-
/** Minimum byte length of a serialized BlobReference (magic + version + two empty strings + rowAddress). */
48+
/** Min byte length of a serialized BlobReference. */
4849
private static final int MIN_SIZE = MAGIC.length + 1 + 2 + 2 + 8;
4950

5051
private static final byte VERSION = 1;
@@ -140,6 +141,7 @@ public long getRowAddress() {
140141
@Override
141142
public String toString() {
142143
return String.format(
143-
"BlobReference{dataset=%s, column=%s, rowAddr=0x%016X}", datasetUri, columnName, rowAddress);
144+
"BlobReference{dataset=%s, column=%s, rowAddr=0x%016X}",
145+
datasetUri, columnName, rowAddress);
144146
}
145147
}

lance-spark-base_2.12/src/main/java/org/lance/spark/vectorized/BlobStructAccessor.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public BlobStructAccessor(StructVector structVector) {
4444
*
4545
* @param datasetUri the URI of the source dataset
4646
* @param columnName the blob column name
47-
* @param rowAddresses array of row addresses (fragment_id << 32 | row_offset) for each row in
48-
* this batch
47+
* @param rowAddresses row addresses for each row in this batch
4948
*/
5049
public void setBlobReferenceContext(
5150
String datasetUri, String columnName, long[] rowAddresses) {

0 commit comments

Comments
 (0)