-
Notifications
You must be signed in to change notification settings - Fork 163
Description
What happens?
Yesterday we updated duckdb-wasm in the Observable standard library from 1.24.0 to 1.27.0, but then found that it could no longer read some file attachments, especially larger CSVs, in Safari and Firefox; we get range request errors. We have rolled back the upgrade for now, but would love to re-deploy it. (This person, for example, is excited about UNPIVOT!)
This commit 53e4aad, refactoring openFile, caught my eye. In the reproduction notebook below, I tried passing allowFullHttpReads, but it didn’t seem to help. (But I might be doing it wrong!)
Happy to pair on this if that would help.
To Reproduce
This notebook ports the DuckDBClient from stdlib to a notebook for testing, and reproduces the error in Safari and Firefox: https://observablehq.com/d/5f93918d02f8c92c
Browser/Environment:
Safari 16.3, Firefox 116.0.2
Device:
MacBook Pro (M1, 2021) on macOS Monterey (12.6.3)
DuckDB-Wasm Version:
1.25.0 and up
DuckDB-Wasm Deployment:
Full Name:
Christopher “Toph” Blair Tucker
Affiliation:
Observable, Inc.