xanderbailey commented on PR #2862:
URL: https://github.com/apache/iceberg-rust/pull/2862#issuecomment-5094789739

   Run with me here for a moment if you will. Does something like this not work 
for ballista?
   
   ```
     pub struct IcebergSerializableTableProvider {
         table_ident: TableIdent,
         metadata: TableMetadata,
         storage_props: HashMap<String, String>,
         storage_factory: Arc<dyn StorageFactory>,
         snapshot_id: Option<i64>,
         inner: IcebergStaticTableProvider,
     }
   ```
   
   If we were to add something like this as the table provider, everything here 
apart from `inner` is serialisable which means you can fully construct it on 
the "executor side" (sorry not sure what ballista calls these). This keeps the 
current public API clear of any runtime errors that may happen as a result of 
people trying to pin for scans and fail on read. My understanding is that the 
`IcebergStaticTableProvider` is designed for exactly the use-case you're 
describing.


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