Skip to content
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

Unable to install duckdb on MacOS #229

Open
aditya-nambiar opened this issue Nov 4, 2023 · 2 comments
Open

Unable to install duckdb on MacOS #229

aditya-nambiar opened this issue Nov 4, 2023 · 2 comments

Comments

@aditya-nambiar
Copy link

I am seeing this error in using the Rust Client, duckdb-rs v 0.9.1 ( I also tried v0.8.1 but that did not help )

running 1 test
Assertion failed: (dynamic_cast<TARGET *>(this)), function Cast, file duckdb/src/include/duckdb/parser/parsed_data/parse_info.hpp, line 41.

Code - https://github.com/duckdb/duckdb-rs/blob/main/examples/parquet.rs

I was able to get it work by directly linking the library by using - DUCKDB_INCLUDE_DIR, its the bundled version that doesn't seem to work

@mlafeldt
Copy link
Contributor

Hey @aditya-nambiar, are you still able to reproduce this?

❯ cargo run --example parquet --features bundled
    Finished dev [unoptimized + debuginfo] target(s) in 0.11s
     Running `target/debug/examples/parquet`
+-------+
| value |
+-------+
| 1.00  |
| 2.00  |
| 3.00  |
| 4.00  |
| 5.00  |
| 6.00  |
| 7.00  |
| 8.00  |
| 9.00  |
| 10.00 |
| 11.00 |
| 12.00 |
| 13.00 |
| 14.00 |
| 15.00 |
| 16.00 |
| 17.00 |
| 18.00 |
| 19.00 |
| 20.00 |
| 21.00 |
| 22.00 |
| 23.00 |
| 24.00 |
+-------+

The main branch (commit 3bff098) works fine for me on macOS with Rust 1.74.0.

@aditya-nambiar
Copy link
Author

I just tried rust version 1.74, I am running into the same issue. Is it possible that the binary required is already linked in the your local setup

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

No branches or pull requests

2 participants