1 2 3 4 5 6 7 8 9
#!/bin/bash export name=$1 dolt table rm $name dolt schema import -c --pks id $name $name.csv --dry-run > /tmp/dolt_tmp_query.sql $EDITOR /tmp/dolt_tmp_query.sql dolt sql < /tmp/dolt_tmp_query.sql dolt table import -u $name $name.csv