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.
2 parents b57909e + 41d1635 commit 75a22b1Copy full SHA for 75a22b1
iceberg-rust-spec/src/spec/types.rs
@@ -319,7 +319,7 @@ impl StructType {
319
.iter()
320
.find(|field| field.name == *part);
321
322
- if i == parts.len() - 1 || current_field.is_none() {
+ if i == parts.len() - 1 || current_field.is_some() {
323
return current_field;
324
}
325
iceberg-rust/src/file_format/parquet.rs
@@ -63,7 +63,7 @@ pub fn parquet_to_datafile(
63
for column in row_group.columns() {
64
let column_name = column.column_descr().name();
65
let id = schema
66
- .get_name(column_name)
+ .get_name(&column.column_path().parts().join("."))
67
.ok_or_else(|| Error::Schema(column_name.to_string(), "".to_string()))?
68
.id;
69
column_sizes
0 commit comments