We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4acbb92 commit 11bb9b0Copy full SHA for 11bb9b0
crates/iceberg/src/arrow/record_batch_projector.rs
@@ -62,7 +62,10 @@ impl RecordBatchProjector {
62
&field_id_fetch_func,
63
&searchable_field_func,
64
)?
65
- .ok_or_else(|| Error::new(ErrorKind::Unexpected, "Field not found"))?;
+ .ok_or_else(|| {
66
+ Error::new(ErrorKind::Unexpected, "Field not found")
67
+ .with_context("field_id", id.to_string())
68
+ })?;
69
fields.push(field.clone());
70
field_indices.push(field_index);
71
}
0 commit comments