aokolnychyi edited a comment on issue #178: Use Iceberg tables as sinks for 
Spark Structured Streaming
URL: 
https://github.com/apache/incubator-iceberg/issues/178#issuecomment-490603069
 
 
   @rdblue close to what I had locally, worked for me!
   
   It would be also helpful to have access to `TableMetadata` for SS. 
`Table$snapshots` provides no guarantees about the order and returns snapshots 
starting from the first one. To find the latest committed `epochId`, it would 
make sense to iterate the snapshot lineage backwards starting from the most 
recent one. In most cases, we would stop after a couple of iterations. 
`TableMetadata` has enough information. Do we consider it as private API? There 
is no way to easily retrieve it, right? It can be accessed through `BaseTable`

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to