-
Notifications
You must be signed in to change notification settings - Fork 26
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
Nightly Distribution #108
Nightly Distribution #108
Conversation
cc @EpsilonPrime, this should allow for testing on the main branch of substrait with the v1.1 of DuckDB. We still have to do some tweaks to release also for the dev version of DuckDB (which will matter for v1.2, and other major versions), but that should already facilitate testing for v1.1 and v1.1.1 |
Thanks, I'll try it out! |
So to use with Python I should do something like the following?
|
@carlopi do you know how to set the extensions repo through the connection config? I confess I tested it with: import duckdb
con = duckdb.connect()
con.execute("FORCE INSTALL substrait FROM core_nightly")
con.execute("LOAD substrait") |
@Tishj improved the At the current moment the only supported way is via SQL, as suggested by @pdet:
Note that extension INSTALLs (and LOADs ?) are not really transaction aware, so it should be equivalent (I think) if performed at the connection level or in the duckdb main object. Semantic is roughly (but please @pdet do correct / edit what's wrong):
|
Thanks! I'll use that method for now. |
After the mentioned PR lands, this should be possible through con.install_extension('substrait', repository='core_nightly', force_install=True) Which is entirely equivalent to: con.execute("FORCE INSTALL substrait FROM core_nightly") |
This will allow for the substrait extension to be built and distributed for every push on
main
.It currently is tagged with DuckDB v1.1, and eventually we should also allow it for DuckDB
main
.Using DuckDB v1.1, you should be able to get the substrait
main
branch extension with:FORCE INSTALL substrait FROM core_nightly