Skip to content

CSV export/import round-trip in the CLI #6

Description

@Maniarasan-zuper

CSV export/import round-trip in the CLI.

The Workbench exports CSV/JSON; add a CLI path so scripts can too. A .import <file.csv> <table> command in hydb2, and .export <table> (or a small flag), reusing the importer logic.

Where

  • The hydb2 REPL (search for the .-command handling).
  • v2/src/hydb2import for parsing patterns.

Acceptance criteria

  • Export a table to CSV, drop it, re-import — the data matches.
  • Header row handled; quoting/escaping correct on a value containing commas.

See CONTRIBUTING.md and comment here to claim it.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions