Skip to content

Commit f622758

Browse files
Add the actual value into the error
1 parent 368efd0 commit f622758

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

datafusion-federation/src/schema_cast/lists_cast.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ macro_rules! cast_string_to_list_array {
3030
None => list_builder.append_null(),
3131
Some(string_value) => {
3232
decoder.decode(string_value.as_bytes()).map_err(|e| {
33-
ArrowError::CastError(format!("Failed to decode value: {e}"))
33+
ArrowError::CastError(format!("Failed to decode value {string_value}: {e}"))
3434
})?;
3535

3636
if let Some(b) = decoder.flush().map_err(|e| {

0 commit comments

Comments
 (0)