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

Error handling of incorrect URL in select statement. #1758

Open
mtb0x1 opened this issue Jun 6, 2024 · 0 comments
Open

Error handling of incorrect URL in select statement. #1758

mtb0x1 opened this issue Jun 6, 2024 · 0 comments

Comments

@mtb0x1
Copy link

mtb0x1 commented Jun 6, 2024

What happens?

I think there are few issues regarding the handling of different HTTP errors that might occur.

To Reproduce

  1. This should yield something like 404 not found error.
SELECT count(*) FROM 'https://shell.duckdb.org/data/something.parquet';
Invalid Error: [object WebAssembly.Exception]
  1. This yield a correct "404 not found" message.
SELECT count(*) FROM 'https://shell.duckdb.org/data/tpch/0_01/parquet/customer.parquett';
Catalog Error: Table with name https://shell.duckdb.org/data/tpch/0_01/parquet/customer.parquett does not exist!
Did you mean "duckdb_databases"?
LINE 1:  SELECT count(*) FROM 'https://shell.duckdb.org/data/tpch/0_0...

Browser/Environment:

Firefox 126

Device:

Desktop

DuckDB-Wasm Version:

@duckdb/duckdb-wasm@1.28.1-dev215.0

DuckDB-Wasm Deployment:

https://shell.duckdb.org

Full Name:

mtb0x1

Affiliation:

None

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

1 participant