Skip to content

Commit b85a9ad

Browse files
author
ZENOTME
committed
init SchemaWithPartnerVisitor design
1 parent 1d19c78 commit b85a9ad

File tree

3 files changed

+666
-594
lines changed

3 files changed

+666
-594
lines changed

crates/iceberg/src/arrow/schema.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ pub fn arrow_type_to_type(ty: &DataType) -> Result<Type> {
221221

222222
const ARROW_FIELD_DOC_KEY: &str = "doc";
223223

224-
fn get_field_id(field: &Field) -> Result<i32> {
224+
pub(super) fn get_field_id(field: &Field) -> Result<i32> {
225225
if let Some(value) = field.metadata().get(PARQUET_FIELD_ID_META_KEY) {
226226
return value.parse::<i32>().map_err(|e| {
227227
Error::new(

0 commit comments

Comments
 (0)