Skip to content

Commit 3d831e6

Browse files
committed
fix: use correct param key for DuplicateFieldCaseInsensitive error
The Rust error serialization used "matchedFields" but the Scala ShimSparkErrorConverter expects "matchedOrcFields", matching Spark's QueryExecutionErrors API parameter name.
1 parent 0c6def8 commit 3d831e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

native/common/src/error.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@ impl SparkError {
443443
} => {
444444
serde_json::json!({
445445
"requiredFieldName": required_field_name,
446-
"matchedFields": matched_fields,
446+
"matchedOrcFields": matched_fields,
447447
})
448448
}
449449
SparkError::Arrow(e) => {

0 commit comments

Comments
 (0)