stevenzwu commented on PR #6614:
URL: https://github.com/apache/iceberg/pull/6614#issuecomment-1407740175

   > 2. Clone a new table. In Flip-27, Read-only table does not meet our 
requirements, so we can try to clone a new table in the table loader. It's 
independent of catalog. We need to manage it manually.
   
   @hililiwei, this won't work. as a table may need to access the client pools 
that is closed by catalog
   
   > 3. Clone a new TableLoader. Pass in a cloned TableLoader to the 
ContinuousSplitPlannerImpl, and add a clone method to TableLoader interface.
   
   this is a feasible solution for fixing the current problem with TableLoader. 
And we have to fix the problem for `TableLoader` as we can't just drop it and 
switch to completely new API or model for compatibility reason.
   
   > 1. Use catalog instead of TableLoader. It's a big change, but it's more in 
line with the current behavior of catalog. In addition, all resources are 
managed by the catalog.
   
   This could be the proper long-term solution. we need to think carefully here 
and make sure the new API makes sense.
   


-- 
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: issues-unsubscr...@iceberg.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to