apache / iceberg-rust

Apache Iceberg
https://rust.iceberg.apache.org/
Apache License 2.0
673 stars 159 forks source link

feat: Add more fields in FileScanTask #609

Closed Xuanwo closed 2 months ago

Xuanwo commented 2 months ago

Follow up of https://github.com/apache/iceberg-rust/pull/607

Add format, content, recound_count in FileScanTask so users can handle those tasks without extra metadata to fetch.

I removed the duplicated functions at the FileScanTask level since we can expect users to access those fields safely, without any additional abstraction needed. This can also save some extra cost that users can move data inside FileScanTask directly.

Xuanwo commented 2 months ago

Also inviting @SDD and @ZENOTME for review.