dolthub / dolthub/dolt

Migrate `dolt table` to SQL

Open
#7,627 1 comment 0 reactions 0 assignees View on GitHub
cli enhancement
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 5h
Merged PRs (30d)
108

Description

`dolt table` currently uses a mix of disk access and SQL to perform it's work, and we should move all commands to using the CliContext infrastructure that other cli commands use to co-operate with a running sql-server.

`table import` - No SQL option currently. This will likely be very slow.
`table export` - Should probably use the same infra as the `dump` command, which it's SQL friendly either.
`table rm` - This is current executed as a call to `dolt sql -q "DROP...", so it works but it's not using the CliContext
`table mv` - Uses `dolt sql` as well
`tabel cp` - Uses `dolt sql` as well

Difficulty: High
Value: High

Overarching Ticket: https://github.com/dolthub/dolt/issues/3922

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.