-
Notifications
You must be signed in to change notification settings - Fork 609
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
bug: connecting to MotherDuck broken on main #8355
Comments
We still have that code, but DuckDB appears to have a different way of handling this now?
|
oh, hilarious, it can't have the trailing slashes |
I think we're probably doing something incorrect with the URL. This code did change in The Great Port |
ugh, I forgot that motherduck can't handle DNSoverTLS. I can fix this up (the ibis issue, I can't make motherduck support modern dns) |
Hmm, @lostmygithubaccount can you try doing a after making my internet less secure, I can still connect: [ins] In [1]: import ibis
[ins] In [2]: con = ibis.duckdb.connect("md:my_db")
[ins] In [3]: con.list_tables()
Out[3]: ['penguins']
[ins] In [4]: con = ibis.duckdb.connect("motherduck:my_db")
[ins] In [5]: con.list_tables()
Out[5]: ['penguins'] |
that works ( |
OOOOOH, gotcha |
## Description of changes Our `_from_url` was a little aggressive in calling `Path().absolute()` on targets. Since we already handle that in `duckdb.do_connect` we can use `urlparse` to rip out the appropriate bits and forward them. ## Issues closed Fixes #8355
…oject#8357) ## Description of changes Our `_from_url` was a little aggressive in calling `Path().absolute()` on targets. Since we already handle that in `duckdb.do_connect` we can use `urlparse` to rip out the appropriate bits and forward them. ## Issues closed Fixes ibis-project#8355
What happened?
I first noticed this in the Ibis analytics streamlit app, with an error eventually at:
after some trial and error, I could reproduce this locally:
leading to the same error, full traceback below. making
read_only=False
creates themd:ibis_analytics
duckdb files in the working directory as it would for a normal databaseI'm guessing motherduck parsing for the URI got dropped somewhere in the refactor?
What version of ibis are you using?
main
What backend(s) are you using, if any?
duckdb==0.9.2
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: