chenzl25 opened a new issue, #627:
URL: https://github.com/apache/iceberg-rust/issues/627

   As we know, `FileScanTask` has two fields `project_field_ids` and `schema`. 
I think the `RecordBatch` from the reader of this `FileScanTask` should always 
follow the schema specified in `FileScanTask`. However, in some case the schema 
could be inconsistent. 
   
   Considering we have an iceberg table with schema (c1 int, c2 int, c3 int). 
If we select the table with this order `c3, c2, c1`. The `RecordBatch` schema 
still is `c1, c2, c3` which confuses me a lot. 
   ```
   pub struct FileScanTask {
       data_file_path: String,
       project_field_ids: Vec<i32>,
       schema: SchemaRef,
       ...
   }
   ```


-- 
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: issues-unsubscr...@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to