kevinjqliu commented on issue #1164:
URL: 
https://github.com/apache/iceberg-python/issues/1164#issuecomment-2344451634

   Also from slack,
   
   Sung:
   This is actually an issue with some of the older Java applications making 
the incorrect assumption that the current_snapshot_id is a required field. As 
   [@Kevin Liu](https://apache-iceberg.slack.com/team/U04B700Q8AY)
    noted, this is an optional attribute in the Spec.
   In PyIceberg, we do have an env variable you can set on your application 
that will force your application to write metadata files with '-1' as the 
current_snapshot_id to circumvent this issue. It's a hack, but it works in 
creating files that are compatible with these older Java applications. Please 
let me know if that's helpful!
   https://github.com/apache/iceberg-python/pull/473
   
   The official documentation on this property is listed here: 
https://py.iceberg.apache.org/configuration/#backward-compatibility
   


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

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