-
Notifications
You must be signed in to change notification settings - Fork 2
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
Backport to duckdb 1.0.0 ? #1
Comments
Ciao Carlo 👋 Nice to meet fellow Amsterdammers from DuckDB HQs! Thanks for the heads up. I assumed this extension would work with v1.0.0 already without patches but its a good point. I'm new to the extension ecosystem, any PR or suggestion is greatly appreciated, if not I'll try to backport the changes from main repo. We're testing the extension with our project quackpipe currently, but once we're done with development and testing we'll most definitely submit to the community extension repository! |
There are a few things we should get better at documenting, we are iterating on that. PR is basically the same as the other one:
Once you do the first step, the other are forced since compiler/linker will otherwise complain. |
OK. I'm trying to apply the other PR to this repo but I'm experiencing quite a lot of errors linking so I'm guessing step 1 is missing. If you don't mind helping, how do you point the duckdb submodule to v1.0.0?
Thanks in advance! |
I think something like:
should work |
Idea should be that after that the content of duckdb folder should be the commit tagged as v1.0.0. |
Thanks Carlo, it did the trick. Will update the submodule to point at v1.0.0 but this raises a couple questions:
Thanks a million! 🦆 |
This is an hack of sort to backport a feature that was not yet made available in 1.0.0. But I think it's still worth since it allows SQL extensions to directly target 1.0.0. I should take a look at what's the cleaner way to have this work transparently both for 1.0.0 and main (likely some preprocessor #ifdef). When I have it I can send a fix. As to versus what version of DuckDB one should program, it depends, I think the most useful is targeting latest stable (that is what you can ship to users) + keeping an eye on integrating newer stuff. Can you maybe open an issue with this question on this either in the extension_template or in the community_extension? Given the answer touches most people, I think it's worth having in a central place. |
Completed with #3 |
Feature request: I think it should be possible to backport this extension to work also with 1.0.0, that could be interesting since most users are on 1.0.0.
A blueprint that should probably just work is this PR Alex-Monahan/sql-only-duckdb-extension#1 against the similar
sql-only-duckdb-extension
.Once this is on 1.0.0, it should basically just work if submitted as community-extension: https://github.com/duckdb/community-extensions, do consider submit a PR there.
The text was updated successfully, but these errors were encountered: