Skip to content

YDB CLI resumes import automatically #16330

Open
@kunga

Description

@kunga

Now, if I stop import and redo it, it will take progress from the previous run:

(!) Found existing import progress for "wikipedia_embeddings_train.csv". Continuing from line 175440 where it was interrupted.
(!) If you want to reset file import progress, remove progress file "/home/kungasc/.config/ydb/import_progress/wikipedia_embeddings_train.csv"

But this behaviour works wrong in case when I cancel upload and then manually drop and recreate destination table

I propose to add --resume and --restart options and interactively ask user whether to resume or restart upload without them

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/cliCLI related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions