Closed
Description
What happens?
Running SELECT INTERVAL '2 year'
(or really any other INTERVAL
) produces the wrong output in the wasm shell. It seems like it has to do with endianness: 2 years is 24 months and here 24 is put into fractional seconds, i.e at the other end of the number.

To Reproduce
You can run this query here (click to open in wasm shell).
SELECT INTERVAL '2 day'
OS:
Mac > Chrome > DuckDB Wasm Shell
DuckDB Version:
v0.10.1
DuckDB Client:
Wasm
Full Name:
David Litwin
Affiliation:
None
Have you tried this on the latest nightly build?
I have tested with a nightly build
Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?
- Yes, I have
Metadata
Metadata
Assignees
Labels
No labels