Comments (17)
Could you give more details? I can’t understand the title, and also the description seems not related to this repo?
from duckdb-rs.
If you wanna know is this repo use the latest version dependencies, yes we are, we always keep them up to date https://deps.rs/repo/github/wangfenjin/duckdb-rs
from duckdb-rs.
Sorry for the lack of description.
My claim is that attempting to use the library with the minimum possible dependencies in Cargo.toml
doesn't work. That's what https://crates.io/crates/cargo-minimal-versions attempts to validate — that if Cargo.lock
is the same as Cargo.toml
, does the library still compile?
When I run cargo +nightly update -Z minimal-versions
to set the minimum versions allowed, and then cargo tree -i gcc
and look for gcc
, which seems to be the cause of the error, I find:
gcc v0.3.0
[build-dependencies]
└── miniz-sys v0.1.7
└── flate2 v1.0.0
[build-dependencies]
└── libduckdb-sys v0.7.1 (/Users/maximilian/workspace/duckdb-rs/libduckdb-sys)
└── duckdb v0.7.1 (/Users/maximilian/workspace/duckdb-rs)
So maybe it's worth attempting to upgrade flake2
or transitively raising upstream?
from duckdb-rs.
Trying to fix the issue, but seems another error reported in arrow pkg.
To be honest, the error message from this tool is totally UN-understandable...Very hard to find the clue to fix the issue
from duckdb-rs.
Very hard to find the clue to fix the issue
OK, though is it:
So maybe it's worth attempting to upgrade
flake2
or transitively raising upstream?
from duckdb-rs.
I already fix this issue in #135
There report another one in arrow-rs, could you help identify the issue?
run in https://github.com/apache/arrow-rs
cargo minimal-versions test
from duckdb-rs.
I run this command in my project and in arrow-rs project, both report the same error
from duckdb-rs.
In #135 I see the test failing because nightly isn't installed...
from duckdb-rs.
What do you see if you run this, but replacing gcc
with the location of the new failure?
When I run
cargo +nightly update -Z minimal-versions
to set the minimum versions allowed, and thencargo tree -i gcc
and look forgcc
, which seems to be the cause of the error, I find:
from duckdb-rs.
Updated the CI, but it will fail because I check the result locally
you can clone the arrow-rs or #135 branch
from duckdb-rs.
https://github.com/PRQL/prql/actions/runs/4395201277/jobs/7696819175
You can also check your pipeline log
from duckdb-rs.
https://github.com/wangfenjin/duckdb-rs/actions/runs/4395501064/jobs/7697404026
from duckdb-rs.
Any clue how to fix this?
from duckdb-rs.
https://github.com/wangfenjin/duckdb-rs/actions/runs/4395501064/jobs/7697404026
It looks like this is coming from the arrow crate. What requires that dependency?
from duckdb-rs.
I put an issue into arrow: apache/arrow-rs#3849
from duckdb-rs.
The issue is I'm not sure it's their problem or it's because I misuse it. For the first issue reported of flate2 or gcc, actually it's our cargo.toml don't make the flate2 as optional
That's why I said the error message is too misleading
from duckdb-rs.
arrow-rs
has the same issue when running the steps on their repo — so it is an issue there too!
from duckdb-rs.
Related Issues (20)
- u64 not being casted to UBigInt and being casted to BigInt instead HOT 1
- Feature request - support Timestamp data types in the appender api
- column_count can panic
- Assertion failed: types == input.GetTypes() in column_data_collection.cpp, line 718
- impl Drop for Appender has unnecessary unsafe calls.
- Listing tables in rust never iterates HOT 2
- duckdb-rs 0.10.0 compilation failed on windows 11
- duckdb-rs 0.10 is failing on macOS Venture (13.5.2) with code 14 HOT 2
- `DataStruct.struct_vector(i).child(j)` leads to assertion failure
- No support for `UHUGEINT` (`u128`) in `FromSql` trait HOT 2
- Proper way of creating a static connection pool with r2d2 HOT 2
- The latest rust crate build for MacOS fails with default settings HOT 1
- Compared to sqlite, query execution speed is several times slower in rust code HOT 13
- BUG: Panic on `SELECT * FROM arrow(?, ?)` when using `TimestampMillisecondArray` arrow type. HOT 5
- Segfault when using `appender` with Generated Columns
- Question: If an INSERT statement includes a RETURNING Clause, how can I retrieve the returned content? HOT 4
- Support for Decimal128 & Decimal256 without downcasting to f64 HOT 5
- update link to param types in rust client api
- Pivot not working with prepared statements
- Segmentation fault on `try_clone` misuse HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duckdb-rs.