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

SELECT INTERVAL 1 DAY hangs the online shell #1133

Closed
orlp opened this issue Jan 27, 2023 · 3 comments
Closed

SELECT INTERVAL 1 DAY hangs the online shell #1133

orlp opened this issue Jan 27, 2023 · 3 comments
Assignees

Comments

@orlp
Copy link

orlp commented Jan 27, 2023

To reproduce execute the following on https://shell.duckdb.org/:

SELECT INTERVAL 1 DAY;

The error in the Javascript console is

125.6dc9a38060e9fe5bb98b.js:1 panicked at 'already mutably borrowed: BorrowError', packages/duckdb-wasm-shell/crate/src/shell.rs:1064:29

Unfortunately the Rust stacktrace is empty.

@carlopi
Copy link
Collaborator

carlopi commented Mar 16, 2023

Update: now it's not trapping in the front end anymore!
(but conversions from internal interval representation to Arrow representation needs to be worked on, since here it currently returns:
0 years 0 mons 0 days 0 hours 0 mins 4.294967296 secs

@carlopi carlopi self-assigned this Mar 16, 2023
@carlopi
Copy link
Collaborator

carlopi commented Mar 23, 2023

And this seems to be the same problem as #1203.

@carlopi
Copy link
Collaborator

carlopi commented Jun 17, 2024

Thanks a lot, this is now solved thanks to #1769

@carlopi carlopi closed this as completed Jun 17, 2024
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