Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@krinart
Copy link

@krinart krinart commented Sep 19, 2025

🗣 Description

Query select now() - interval '1' works via duckdb CLI, but fails via duckdb-rs without manually installing/loading ICU extension. In order to match the behavior of CLI, we can make it statically linked.

🔨 Related Issues

#591

@Maxxen
Copy link
Member

Maxxen commented Sep 20, 2025

I dont think this will work, Ive attempted to do this before, but it brings the total source code size to larger than what crates.io allows, making the package upload fail.

@Maxxen
Copy link
Member

Maxxen commented Sep 20, 2025

#464

@krinart krinart changed the title Add ICU extension to the list of statically linked extensions Add ICU to statically linked extensions Add ICU extension to the list of statically linked extensions Sep 20, 2025
@mlafeldt
Copy link
Member

@Maxxen is right. I checked out the PR and ran update_sources.py. With this, the file size of crates/libduckdb-sys/duckdb.tar.gz increased from 5.6M to 11M, which is nearly double the original size.

The crates.io upload limit is 10MB, so adding ICU in that manner is unfortunately not an option.

@mlafeldt mlafeldt closed this Sep 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants