From 19f607a727ba9eba35b7b0cd0a2475b1e0a16df2 Mon Sep 17 00:00:00 2001 From: QP Hou Date: Sun, 29 Jan 2023 12:48:00 -0800 Subject: [PATCH] fix: change unexpected field logging level to debug (#1112) # Description logging this error per row is too verbose when reading newer unsupported versions of delta log # Related Issue(s) closes https://github.com/delta-io/delta-rs/issues/1093 --- rust/src/action/parquet_read/mod.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/rust/src/action/parquet_read/mod.rs b/rust/src/action/parquet_read/mod.rs index d47f0b37f2..4e46ceee33 100644 --- a/rust/src/action/parquet_read/mod.rs +++ b/rust/src/action/parquet_read/mod.rs @@ -128,7 +128,7 @@ impl Add { } }, _ => { - log::warn!( + log::debug!( "Unexpected field name `{}` for add action: {:?}", name, record @@ -187,7 +187,7 @@ impl Add { log::error!("Expect type of stats_parsed field nullCount to be struct, got: {}", record); } _ => { - log::warn!( + log::debug!( "Unexpected field name `{}` for stats_parsed: {:?}", name, record, @@ -384,7 +384,7 @@ impl MetaData { } } _ => { - log::warn!( + log::debug!( "Unexpected field name `{}` for metaData action: {:?}", name, record @@ -465,7 +465,7 @@ impl Remove { } "numRecords" => {} _ => { - log::warn!( + log::debug!( "Unexpected field name `{}` for remove action: {:?}", name, record @@ -501,7 +501,7 @@ impl Txn { re.last_updated = record.get_long(i).map(Some).unwrap_or(None); } _ => { - log::warn!( + log::debug!( "Unexpected field name `{}` for txn action: {:?}", name, record @@ -533,7 +533,7 @@ impl Protocol { })?; } _ => { - log::warn!( + log::debug!( "Unexpected field name `{}` for protocol action: {:?}", name, record