Skip to content

Commit 8ddbc47

Browse files
committed
add values when reporting conflicting schema merge
1 parent f2debbb commit 8ddbc47

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

datafusion/src/field_util.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,8 +269,7 @@ impl SchemaExt for Schema {
269269
if old_val != &value {
270270
return Err(DataFusionError::ArrowError(
271271
ArrowError::InvalidArgumentError(
272-
"Fail to merge schema due to conflicting metadata."
273-
.to_string(),
272+
format!("Fail to merge schema due to conflicting metadata, {} != {}.", old_val, value),
274273
),
275274
));
276275
}

0 commit comments

Comments
 (0)