NoahKusaba commented on issue #24: URL: https://github.com/apache/datafusion-iceberg/issues/24#issuecomment-7057713220
#116 covers the first and third points for existing tables: each query loads the tables it references, so later queries see changes without rebuilding the catalog. Seeing tables other clients create or drop needs table() to decide whether a table exists by loading it, not by checking the names listed when the session started. I'll do that in a follow-up. On the second point, #116 still loads the table again at scan time instead of reusing the version table() loaded. DataFusion reuses providers across queries: a view stores its plan, and a DataFrame can be run again. A provider fixed to one version would make those return old data. Making every scan in a query read the same version needs code that runs once per query, and a provider can't tell where one query ends and the next begins. The engine running the queries can, so it fits better there. -- 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]
