You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the following code in my server:
db.execute(format!("CREATE TABLE
AS SELECT * FROM st_read('{}');", xlsx).as_str(), [])?;
xlsx is the local path to excel file, if provided with a random file, rust throws something like:
when using same file in duckdb cli, it outputs
Invalid Input Error: Malformed JSON in file "/tmp/1030__tttttt__25e02eca-268a-4915-9ea7-ae8bec2c53eb", at byte 1 in record/value 2: unexpected character.
I use the following code in my server:
AS SELECT * FROM st_read('{}');", xlsx).as_str(), [])?;db.execute(format!("CREATE TABLE
xlsx is the local path to excel file, if provided with a random file, rust throws something like:
fatal runtime error: Rust cannot catch foreign exceptions
so the whole server crashes. I believe it also happens on read_json
attached is a file that causes the error.
1030__tttttt__25e02eca-268a-4915-9ea7-ae8bec2c53eb.xlsx
The text was updated successfully, but these errors were encountered: