Skip to content

Move DataFusion SessionContext into DeltaLake and register tables automatically #258

@CGodiksen

Description

@CGodiksen

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.

  • Use separate schemas in SessionContext for tables and metadata tables to avoid naming conflicts.
  • Put DeltaLake in an Arc or Rc and share it between data and metadata.
  • Check if "duplicated" functionality can be removed from DeltaLake by automatically checking if a table_name is for a normal/model table or for a metadata table.
  • Look into if a single TableProvider can be used for metadata tables and normal tables.
  • Add unit testing to DeltaLake.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions