Skip to content

Commit

Permalink
fix: change unexpected field logging level to debug (delta-io#1112)
Browse files Browse the repository at this point in the history
# Description
logging this error per row is too verbose when reading newer unsupported
versions of delta log

# Related Issue(s)
closes delta-io#1093
  • Loading branch information
houqp authored and chitralverma committed Mar 17, 2023
1 parent e07943a commit 19f607a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions rust/src/action/parquet_read/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ impl Add {
}
},
_ => {
log::warn!(
log::debug!(
"Unexpected field name `{}` for add action: {:?}",
name,
record
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -384,7 +384,7 @@ impl MetaData {
}
}
_ => {
log::warn!(
log::debug!(
"Unexpected field name `{}` for metaData action: {:?}",
name,
record
Expand Down Expand Up @@ -465,7 +465,7 @@ impl Remove {
}
"numRecords" => {}
_ => {
log::warn!(
log::debug!(
"Unexpected field name `{}` for remove action: {:?}",
name,
record
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -533,7 +533,7 @@ impl Protocol {
})?;
}
_ => {
log::warn!(
log::debug!(
"Unexpected field name `{}` for protocol action: {:?}",
name,
record
Expand Down

0 comments on commit 19f607a

Please sign in to comment.