Currently we have a SessionContext in Context, in TableMetadataManager, and in MetadataManager. Each of these register tables manually on start up and when tables are created. Instead we should move SessionContext into DeltaLake so registering and de-registering tables is done automatically.
This implementation can also include other smaller features that were considered when implementing the current version of DeltaLake.
Currently we have a
SessionContextinContext, inTableMetadataManager, and inMetadataManager. Each of these register tables manually on start up and when tables are created. Instead we should moveSessionContextintoDeltaLakeso registering and de-registering tables is done automatically.This implementation can also include other smaller features that were considered when implementing the current version of
DeltaLake.SessionContextfor tables and metadata tables to avoid naming conflicts.DeltaLakein anArcorRcand share it between data and metadata.DeltaLakeby automatically checking if a table_name is for a normal/model table or for a metadata table.TableProvidercan be used for metadata tables and normal tables.DeltaLake.