Skip to content

Ingesting CSV data with a unique_ parameter that is not indexed is slow #136

Closed

Description

@JoshStoddard

It is easy to overlook creating an index for CSV data when ingesting for the first time. We shoudl at least warn the user when runnign an ingestion script using conditional add on a property that is not indexed that it is going to be slow (particularly when the objects already exist)

Activity

  1. added
    enhancement
    on Sep 12, 2022
  2. JoshStoddard commented on Sep 12, 2022

    @JoshStoddard
    ContributorAuthor

    After discussion at customer council, we came up with the following:

    At ingestion time, if we find a unique property, check whether an index exists.
    If not, go ahead and create an index and print a warning to the user to the effect of "We created this index for you for efficiency of ingestion. If you don't want to keep this index, it's up to you to delete it later."
    If index creation fails, print a different warning "We were unable to create an index for this value, ingestion will be slow"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions