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

Assertion failed: types == input.GetTypes() in column_data_collection.cpp, line 718 #263

Open
Timmmm opened this issue Feb 11, 2024 · 0 comments

Comments

@Timmmm
Copy link

Timmmm commented Feb 11, 2024

Unfortunately this is with proprietary data so I can't give a full reproducer but I do these queries with duckdb-rs 0.9.2:

  • CREATE TABLE queue as SELECT * FROM read_json_auto('example.json');
  • SELECT DISTINCT ON (account) * FROM queue;

It works fine in the DuckDB CLI but from my Rust code I get this error:

Assertion failed: types == input.GetTypes(), file C:\Users\Tim\.cargo\registry\src\index.crates.io-6f17d22bba15001f\libduckdb-sys-0.9.2\duckdb\src/common/types/column/column_data_collection.cpp, line 718

Unfortunately RUST_BACKTRACE=1 doesn't give any more info (presumably because it is a C++ assertion, not Rust).

Any idea what could be causing this?

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

1 participant