badalprasadsingh opened a new pull request, #1799:
URL: https://github.com/apache/iceberg-go/pull/1799

   ### Description
   
   Fixes #1798 
   
   Earlier `addSnapshotInternal` unconditionally called 
`b.base.LastUpdatedMillis()`, panicking on a `MetadataBuilder` created via 
`NewMetadataBuilder` (base is nil until `MetadataBuilderFromBase` is used).  
Guard the call the same way `currentNextRowID()` already guards the same field.
   
   ### Testing
   
   Added the necessary tests required for it.


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