dolthub / dolt

Dolt – Git for Data
Apache License 2.0
17.94k stars 511 forks source link

Migrate `dolt table` to SQL #7627

Open macneale4 opened 7 months ago

macneale4 commented 7 months ago

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- Usesdolt sqlas well tabel cp- Usesdolt sql` as well

Difficulty: High Value: High

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

macneale4 commented 7 months ago

User tripped on this: https://github.com/dolthub/dolt/issues/7548