Skip to content

Enable local persistence of detected schemas #438

Open
@normanj-bitquill

Description

@normanj-bitquill

Is your feature request related to a problem? Please describe.

I'd like to be able to save the detected schema locally. The schema information could then be restored later without needing another schema detection.

There are some collections that we work with that are very large and we may need to sample many or all of the documents. Minimizing the number of times that we do schema detection is important.

Describe the solution you'd like

Hooks in the driver for:

  • Persisting the schema of a collection
  • Restoring the persisted schema of a collection (to skip schema auto detection)

Describe alternatives you've considered

None

Additional context

At this point I'm most curious about the feasibility of this feature. Is it possible? How big of a change would this require?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions