We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3bf829 commit 600638dCopy full SHA for 600638d
crates/iceberg/src/spec/manifest/entry.rs
@@ -563,6 +563,16 @@ pub(super) fn manifest_schema_v2(partition_type: &StructType) -> Result<AvroSche
563
564
fn data_file_fields_v1(partition_type: &StructType) -> Vec<NestedFieldRef> {
565
vec![
566
+ // Content is always 1.
567
+ Arc::new(NestedField::builder()
568
+ .id(134)
569
+ .name("content")
570
+ .required(false)
571
+ .field_type(Type::Primitive(PrimitiveType::Int))
572
+ .initial_default(Some(serde_json::Value::Number(1.into())))
573
+ .write_default(Some(serde_json::Value::Number(1.into())))
574
+ .build()
575
+ ),
576
FILE_PATH.clone(),
577
FILE_FORMAT.clone(),
578
Arc::new(NestedField::required(
0 commit comments