duckdb-wasm icon indicating copy to clipboard operation
duckdb-wasm copied to clipboard

date_part is not working with DuckDBCliemt in ObservableHQ

Open kimmolinna opened this issue 2 years ago • 7 comments

@domoritz The following example from web page is not working in ObservableHQ with Safari or Chrome/IOS: SELECT date_part('minute', TIMESTAMP '1992-09-20 20:38:40') and it’s working in shell.duckdb.org

kimmolinna avatar Aug 31 '22 07:08 kimmolinna

This is working when you reload the page. I don’t understand why…

kimmolinna avatar Aug 31 '22 08:08 kimmolinna

Or actually you just have to reload the client.

kimmolinna avatar Aug 31 '22 08:08 kimmolinna

Can you send a link to a notebook and what browser you are using?

domoritz avatar Aug 31 '22 14:08 domoritz

https://observablehq.com/d/7699b0c727da6fb5 There isn't any problem with my computer but on IOS/Safari and Chrome I have to re-run the client all the time to get the changes work. Then It work without any problem.

kimmolinna avatar Sep 02 '22 05:09 kimmolinna

The notebook works fine for me in Safari now. Is this still an issue?

domoritz avatar Sep 27 '22 13:09 domoritz

I will still get the following error message: RangeError: Maximum call stack size exceeded. Do I have somehow wrong settings on my IOS/Safari?

kimmolinna avatar Oct 02 '22 08:10 kimmolinna

Not sure. Can you post a minimal example that shows the issue? I don't have problems with date part.

domoritz avatar Oct 03 '22 14:10 domoritz

When you open the Notebook it works nicely but if you re-run the cell you will get RangeError: Maximum call stack size exceeded. https://observablehq.com/@kimmolinna/date_part-test

kimmolinna avatar Oct 24 '22 08:10 kimmolinna

I can't reproduce this issue (tried rerunning the cell a few times) in the latest Safari 16. Which version are you using?

domoritz avatar Nov 12 '22 00:11 domoritz

The iPadOS version is 15.7 which is the latest my employer has approved so I assuma my Safari version on iPad is then 15.

kimmolinna avatar Nov 12 '22 08:11 kimmolinna

I'd say this may be a fixed browser issue then and I don't think it makes sense for us to investigate.

domoritz avatar Nov 12 '22 16:11 domoritz

Closing. Let's reopen if we can repro in latest safari.

domoritz avatar Nov 12 '22 16:11 domoritz