Xuanwo commented on issue #1038:
URL: https://github.com/apache/iceberg-rust/issues/1038#issuecomment-2833199052

   Hi, @dentiny. I believe our current consensus aligns with your comments.
   
   I think we can start by adding the following variants:
   
   ```
   pub enum ErrorKind {
       Unexpected,
       DataInvalid,
       FeatureUnsupported,
   
       NamespaceNotFound,
       NamespaceExists,
       TableNotFound,
       TableExists,
   }
   ```
   
   Regarding retries, my current design is as follows: 
https://github.com/apache/iceberg-rust/issues/1071#issuecomment-2714693408
   
   > I think this should be managed internally by iceberg-rust. Initially, we 
can return a `retryable` or `temporary` field in the error for users to 
interpret. Later, we could consider enabling automatic retries for these errors 
in the REST catalog by default.
   
   Maybe you would like to start working on this?


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