JanKaul commented on issue #55:
URL: https://github.com/apache/iceberg-rust/issues/55#issuecomment-1702466379

   > I'm guessing the problem we met here is iceberg has different spec for 
`Table` and `View` which needs different handling?
   
   I'm not sure what the best procedure for the REST catalog is. Maybe 
optimistically try to fetch the table metadata and if it fails then fetch the 
view metadata.
   
   For all catalogs that obtain the "metadata location" Serde should be able to 
handle this. Since `TableMetadata` and `ViewMetadata` have different 
structures, Serde can identify whether it's a table or a view during 
deserialization.


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