-
Notifications
You must be signed in to change notification settings - Fork 49
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
DuckDB errors on round function in Siuba only #379
Comments
Hey--thanks for this and PR #378. I was able to run the failing query successfully with duckdb. Do you know what siuba version you're using? I'm fixing this in the next couple hours (in #377), but siuba right now is releasing as alpha releases, which don't get pip installed by default:
Duckdb looks pretty easy to set up, so I can open a quick PR that runs it through siuba's full test suite..! |
I bet the version is the difference! I'll check this evening or tomorrow morning. Thank you for running it through the test suite! That would be awesome. Let me know if you run into anything! |
@Alex-Monahan, here's a draft PR that extends the postgresql dialect a bit to support duckdb :). Overall, it seems to be pretty straightforward, with just two small hitches..
|
You are exactly right - it was the version of siuba that was the issue. Closing this issue since this is already fixed! |
Thank you for filing those reports upstream with duckdb_engine! I think it may be time for DuckDB to leave the nest and become its own SQLAlchemy dialect... ;-) It sounds like it's as easy as changing the name! |
Hello!
For some reason, the query that siuba outputs as text runs correctly on DuckDB, but the siuba expression does not run. This example is in the examples-duckdb.ipynb file that is attached here.
Two commands are required to install duckdb and the duckdb SQLAlchemy driver prior to running these test cases:
This works:
This fails:
with this message:
examples-duckdb.zip
The text was updated successfully, but these errors were encountered: