From 4b5b01e85a66f7a3c52cb0aa415c5c0a953542cf Mon Sep 17 00:00:00 2001 From: Qingping Hou Date: Sun, 29 Jan 2023 12:28:21 -0800 Subject: [PATCH] fix: change unexpected field logging level to debug logging this error per row is too verbose when reading newer unsupported versions of delta log --- 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