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 1eff2ff commit 93e8fc4Copy full SHA for 93e8fc4
crates/iceberg/src/spec/manifest/_serde.rs
@@ -99,7 +99,7 @@ impl ManifestEntryV1 {
99
#[serde_as]
100
#[derive(Serialize, Deserialize)]
101
pub(super) struct DataFileSerde {
102
- #[serde(default = "default_to_zero")]
+ #[serde(default)]
103
content: i32,
104
file_path: String,
105
file_format: String,
@@ -125,10 +125,6 @@ pub(super) struct DataFileSerde {
125
content_size_in_bytes: Option<i64>,
126
}
127
128
-fn default_to_zero() -> i32 {
129
- 0
130
-}
131
-
132
impl DataFileSerde {
133
pub fn try_from(
134
value: super::DataFile,
0 commit comments