Skip to content

Commit eb7270e

Browse files
author
ZENOTME
committed
rename interface
1 parent 9cdd762 commit eb7270e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/iceberg/src/spec/manifest.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1237,7 +1237,7 @@ pub fn write_data_files_to_avro<W: Write>(
12371237
}
12381238

12391239
/// Parse data files from avro bytes.
1240-
pub fn parse_data_file_from_avro<R: Read>(
1240+
pub fn read_data_file_from_avro<R: Read>(
12411241
reader: &mut R,
12421242
schema: &Schema,
12431243
partition_type: &StructType,
@@ -2456,7 +2456,7 @@ mod tests {
24562456
)
24572457
.unwrap();
24582458

2459-
let actual_data_file = parse_data_file_from_avro(
2459+
let actual_data_file = read_data_file_from_avro(
24602460
&mut Cursor::new(buffer),
24612461
&schema,
24622462
&StructType::new(vec![]),

0 commit comments

Comments
 (0)