Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dolt does not work in WSL 2 #992

Open
Hydrocharged opened this issue Nov 5, 2020 · 1 comment
Open

Dolt does not work in WSL 2 #992

Hydrocharged opened this issue Nov 5, 2020 · 1 comment
Labels
wontfix This will not be worked on

Comments

@Hydrocharged
Copy link
Contributor

Hydrocharged commented Nov 5, 2020

Dolt does not operate correctly under Windows Subsystem for Linux 2. If you plan to use WSL with Dolt, we recommend using WSL 1.

Known issues:

  • Piping files into SQL can cause pipe errors specifically with large files, i.e. dolt sql < file.sql
@Hydrocharged Hydrocharged added the wontfix This will not be worked on label Nov 5, 2020
@mkerollos
Copy link

I encountered an issue in WSL2 (Ubuntu 20.04.4 LTS (GNU/Linux 5.10.102.1-microsoft-standard-WSL2 x86_64).
I exported a csv from excel with type "CSV UTF-8 (Comma delimited) (*.csv)".
That results in this file:
utf8-bom.csv

Which if I try to import gives:

dolt table import -c -pk=state state_populations utf8-bom.csv 
Error determining the output schema.
cause: provided primary key not found
When attempting to move data from csv file:utf8-bom.csv to state_populations, could not determine the output schema.
Schema File: ""
explicit pks: "state"

If I create a new text file with the same content:
utf8.csv

It imports just fine:

dolt table import -c -pk=state state_populations utf8.csv 
Rows Processed: 17, Additions: 17, Modifications: 0, Had No Effect: 0
Import completed successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants