Skip to content

Commit a4d3fd0

Browse files
author
nullccxsy
committed
fix: content in manifest entry should be optional
1 parent a13eed2 commit a4d3fd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/iceberg/manifest_entry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ struct ICEBERG_EXPORT DataFile {
176176
/// present
177177
std::optional<int64_t> content_size_in_bytes;
178178

179-
inline static const SchemaField kContent = SchemaField::MakeRequired(
179+
inline static const SchemaField kContent = SchemaField::MakeOptional(
180180
134, "content", iceberg::int32(),
181181
"Contents of the file: 0=data, 1=position deletes, 2=equality deletes");
182182
inline static const SchemaField kFilePath = SchemaField::MakeRequired(

0 commit comments

Comments
 (0)