Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] The manifest schema should not be nullable #3962

Merged
merged 1 commit into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public static RowType schema() {
newStringType(false),
new IntType(false),
new IntType(false)))));
return new RowType(fields);
return new RowType(false, fields);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public static RowType schema() {
fields.add(new DataField(2, "_BUCKET", new IntType(false)));
fields.add(new DataField(3, "_TOTAL_BUCKETS", new IntType(false)));
fields.add(new DataField(4, "_FILE", DataFileMeta.schema()));
return new RowType(fields);
return new RowType(false, fields);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public static RowType schema() {
fields.add(new DataField(3, "_NUM_DELETED_FILES", new BigIntType(false)));
fields.add(new DataField(4, "_PARTITION_STATS", SimpleStatsConverter.schema()));
fields.add(new DataField(5, "_SCHEMA_ID", new BigIntType(false)));
return new RowType(fields);
return new RowType(false, fields);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static RowType versionType(RowType rowType) {
List<DataField> fields = new ArrayList<>();
fields.add(new DataField(-1, "_VERSION", new IntType(false)));
fields.addAll(rowType.getFields());
return new RowType(fields);
return new RowType(false, fields);
}

/**
Expand Down
Loading