bartash opened a new issue, #5882:
URL: https://github.com/apache/iceberg/issues/5882

   ### Apache Iceberg version
   
   main (development)
   
   ### Query engine
   
   _No response_
   
   ### Please describe the bug 🐞
   
   SnapshotManager creates its own iceberg transaction which is private. This 
prevents clients from adding anything to the transaction. An example use case 
where this is desirable is that some catalog users use additional HMS 
properties to include version numbers for cache invalidation.  It is desirable 
that these HMS properties are updated as part of the same iceberg transaction 
used by SnapshotManager. 
   One fix would be to allow SnapshotManager to be created from Transaction in  
a similar way that an ExpireSnapshots object can be created by 
Transaction.expireSnapshots(). An alternative fix would be to add a constructor 
to SnapshotManager that takes an iceberg transaction Object as a parameter. For 
convenience an overload of BaseTable.manageSnapshots() would also be added.


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