RussellSpitzer commented on issue #4086:
URL: https://github.com/apache/iceberg/issues/4086#issuecomment-1035215465


   > Also just wondering, there's no way to strip the catalog before loading 
the table in the Spark3BinPackStrategy and have it work, right?
   
   Yeah unfortunately the way we have it set up now is that we work directly on 
the "table" object passed in and if it is missing catalog information there is 
no way to get it back.
   
   Then we we actually do our read we are using the Spark API which means we 
need the catalog so we can actually have all the Spark machinery work 
correctly. We could probably re-implement this read so that we pass in a 
manually constructed SparkTable object but that seems like a bit of work.
   
   See
   
https://github.com/apache/iceberg/blob/1e5abcece00d835235dccf0b902ffd988cbded0d/spark/v3.2/spark/src/main/java/org/apache/iceberg/spark/actions/Spark3BinPackStrategy.java#L64-L77


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