Skip to content

Commit

Permalink
add values when reporting conflicting schema merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Igosuki committed Feb 3, 2022
1 parent f2debbb commit 8ddbc47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions datafusion/src/field_util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,7 @@ impl SchemaExt for Schema {
if old_val != &value {
return Err(DataFusionError::ArrowError(
ArrowError::InvalidArgumentError(
"Fail to merge schema due to conflicting metadata."
.to_string(),
format!("Fail to merge schema due to conflicting metadata, {} != {}.", old_val, value),
),
));
}
Expand Down

0 comments on commit 8ddbc47

Please sign in to comment.