JanKaul commented on issue #22:
URL: https://github.com/apache/iceberg-rust/issues/22#issuecomment-1671560621

   Implementing expressions feels like a huge task which also has to be 
maintained later on. I'm not sure about Databend or RisingWave but for 
Datafusion it would be sufficient to have functionality like:
   
   ```rust
   // returns min value of every manifest file for the given column
   fn manifest_min_values(table: &Table, column_name: &str) -> Vec<Value>
   fn manifest_max_values(table: &Table, column_name: &str) -> Vec<Value>
   
   // returns min value of every data file for the given column
   fn datafile_min_values(table: &Table, column_name: &str) -> Vec<Value>
   fn datafile_max_values(table: &Table, column_name: &str) -> Vec<Value>
   ```
   
   or even better with arrow:
   
   ```rust
   fn manifest_min_values(table: &Table, column_name: &str) -> ArrayRef
   fn manifest_max_values(table: &Table, column_name: &str) -> ArrayRef
   
   fn datafile_min_values(table: &Table, column_name: &str) -> ArrayRef
   fn datafile_max_values(table: &Table, column_name: &str) -> ArrayRef
   ```


-- 
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]

Reply via email to