-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
pgfutter to load csv gives: driver bad connection. db.Ping() not supported? #42
Comments
Thanks for the issue! We haven't tested with |
Thank you for the issue! I'll see if I can pinpoint exactly what's going wrong here. |
I've looked into this, and I can't seem to replicate the error message you're experiencing. On top of that, I also did not need to disable SSL. I tested this against v0.1.0 (which is also the tip of To try and pinpoint why you're getting this particular error, my guess is either one of two things: your OS (due to the SSL issues), or the CSV you're attempting to load. Can you provide which operating system you're using? In addition, can you provide a CSV that I could test? It does not have to be the exact one in case it has sensitive data, any CSV that gives you the same error will suffice. This will allow us to find other potential errors lurking within our program. |
I can fork pgfutter and not make it use a schema.. pgfutter allows for any csv to be loaded into postgres. pgfutter is german for Here is an example csv with energy data from a city in the netherlands. I'm using ubuntu 23.04 just checketout the dolt source code. |
attempt 2.
The code triggering the error in pgfutter.
|
I made minimal golang example and can reproduce the error. Could it be Ping is not supported yet?
|
Your deduction is correct! It's not necessarily that we don't support Ping(), there's a bug where we always assume that a successful parse produces an AST. It looks like Ping() is sending |
Upon merging the tagged PR, this issue will close. I've made a new issue tracking the next blocker, but since it's a bit more general than just for |
I tried to use
pgfutter
to load some csv data which usesdatabase.sql
sql driver. after disabling ssl which was the first hurdle in connecting. I successfully started a dolgres server instance.started an instance, connected using psql.
doltgresql -P 9999
tried to run a simple tool to quickly load some csv in de database.
pgfutter --port 9999 --dbname doltgres --username doltgres csv -d ',' v20230703_v2_csv.csv
I get the following error and now I don't know what to do to fix this. A different postgress database driver?
driver: bad connection
I'm super excited to discover dolt!
The text was updated successfully, but these errors were encountered: