viirya commented on code in PR #245:
URL: https://github.com/apache/iceberg-rust/pull/245#discussion_r1518693422
##########
crates/iceberg/src/scan.rs:
##########
@@ -383,18 +389,29 @@ mod tests {
// prepare data
let schema = {
- let fields =
- vec![
- arrow_schema::Field::new("col",
arrow_schema::DataType::Int64, true)
- .with_metadata(HashMap::from([(
- PARQUET_FIELD_ID_META_KEY.to_string(),
- "0".to_string(),
- )])),
Review Comment:
I took a look at the table metadata. The written Parquet schema doesn't
match with the table schema. As we need to project correct columns in the
parquet file, I changed this.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]