Skip to content

Reimplement import-sql in python #376

@nyurik

Description

@nyurik

The current import-sql is implemented using shell script + xargs to parallelize file import.

It currently has a number of limitations, mostly dealing with error handling -- if one of the SQL files fail, it is not trivial to find which file failed and where, plus in some cases the script (xargs) can exit without waiting for files that have not yet completed - thus confusing the output even further.

One simple solution would be to rewrite it in Python, allowing more control and helping readability.

See also #373

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