Gri-ffin opened a new issue, #3770:
URL: https://github.com/apache/iceberg-rust/issues/3770

   ### Apache Iceberg Rust version
   
   0.11
   
   ### Describe the bug
   
   Iceberg rust is writing high value and null counts for fields inside a list 
or a map, it seems that for every empty or null list it is counted as one extra 
value or one extra null (due to it confusing the parquet placeholder as a real 
value).
   
   ### To Reproduce
   
   - Create a table with one column, for example: `tags: list<string>`
   - Then write the rows `["a", "b"], [], null, ["c", null]` with 
`ParquetWriter`.
   - Then check `value_counts()` and `null_value_counts()` on the returned 
`DataFile` for the list element field.
   
   It reports 6 values and 3 nulls.
   
   ### Expected behavior
   
   4 values and 1 null.
   
   ### Willingness to contribute
   
   I can contribute a fix for this bug independently


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