You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by "JanKaul (via GitHub)" <gi...@apache.org> on 2023/08/09 14:52:42 UTC

[GitHub] [iceberg-rust] JanKaul commented on issue #22: Terms, Types and Expressions

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

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


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