Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

compile test

chrisluf37862bffe1f
diff --git a/weed/mq/schema/schema_test.go b/weed/mq/schema/schema_test.go
index 9733892676..2c12c2465d 100644
--- a/weed/mq/schema/schema_test.go
+++ b/weed/mq/schema/schema_test.go
@@ -34,7 +34,7 @@ func TestField(t *testing.T) {
field := &Field{
Name: "field_name",
Type: &Type{Kind: &Type_ScalarType{ScalarType: ScalarType_INTEGER}},
- Index: 1,
+ FieldIndex: 1,
IsRepeated: false,
}
assert.NotNil(t, field)
@@ -46,13 +46,13 @@ func TestRecordType(t *testing.T) {
{
Name: "field_1",
Type: &Type{Kind: &Type_ScalarType{ScalarType: ScalarType_INTEGER}},
- Index: 1,
+ FieldIndex: 1,
IsRepeated: false,
},
{
Name: "field_2",
Type: &Type{Kind: &Type_ScalarType{ScalarType: ScalarType_STRING}},
- Index: 2,
+ FieldIndex: 2,
IsRepeated: false,
},
},
@@ -62,13 +62,13 @@ func TestRecordType(t *testing.T) {
{
Name: "field_key",
Type: &Type{Kind: &Type_ScalarType{ScalarType: ScalarType_INTEGER}},
- Index: 1,
+ FieldIndex: 1,
IsRepeated: false,
},
{
Name: "field_record",
Type: &Type{Kind: &Type_RecordType{RecordType: subRecord}},
- Index: 2,
+ FieldIndex: 2,
IsRepeated: false,
},
},