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

Nonsensical formatting of intervals in duckdb wasm shell at https://shell.duckdb.org/ #1348

Closed
bcolloran opened this issue Aug 2, 2023 · 2 comments

Comments

@bcolloran
Copy link

What happens?

at https://shell.duckdb.org/, enter the following:

duckdb> (select interval '1 years' as intvl);
┌────────────────────────────────────────────────┐
│ intvl                                          │
╞════════════════════════════════════════════════╡
│ 0 years 0 mons 0 days 0 hours 0 mins 0.12 secs │
└────────────────────────────────────────────────┘
Elapsed: 1 ms

To Reproduce

at https://shell.duckdb.org/, enter the following:

duckdb> (select interval '1 years' as intvl);
┌────────────────────────────────────────────────┐
│ intvl                                          │
╞════════════════════════════════════════════════╡
│ 0 years 0 mons 0 days 0 hours 0 mins 0.12 secs │
└────────────────────────────────────────────────┘
Elapsed: 1 ms

Browser/Environment:

firefox 115.0.3

Device:

thinpad x1

DuckDB-Wasm Version:

@duckdb/[email protected]

DuckDB-Wasm Deployment:

https://shell.duckdb.org/

Full Name:

bcolloran

Affiliation:

Rill Data

@Y--
Copy link
Contributor

Y-- commented Aug 2, 2023

Hi Brendan!

I think the issue is that DuckDB WASM isn't compiled with the ICU extension by default.
It seems to work on DuckDB WASM that do enable the extension:
image

@carlopi
Copy link
Collaborator

carlopi commented Jun 17, 2024

This can also be solved, due to arrow-rust having solved this problem upstream. See #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

3 participants