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

[BUG]: select timetz 'fatal runtime error' #221

Open
wyhaya opened this issue Oct 23, 2023 · 1 comment
Open

[BUG]: select timetz 'fatal runtime error' #221

wyhaya opened this issue Oct 23, 2023 · 1 comment

Comments

@wyhaya
Copy link

wyhaya commented Oct 23, 2023

Code:

let mut stmt = conn.prepare("select timetz '1992-09-20 11:30:00.123456';")?;
let _ = stmt.query([]); // Process exit!

Output:

fatal runtime error: Rust cannot catch foreign exceptions
fish: Job 1, 'cargo run' terminated by signal SIGABRT (Abort)

This line of code caused the error

let rc = ffi::duckdb_query_arrow_schema(out, &mut c_schema as *mut _ as *mut ffi::duckdb_arrow_schema);

@Mause
Copy link
Member

Mause commented Apr 24, 2024

This situation should be improved now (no longer segfault), but the underlying issue, no timetz support in arrow, remains

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