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
Using DuckDB 0.9.2. Also did not work with installing nightly spatial.
Error:
Invalid Input Error: Attempting to execute an unsuccessful or closed pending query result
Error: IO Error: GDAL Error (1): SQL Expression Parsing Error: syntax error, unexpected identifier, expecting end of string. Occurred around :
Unit Selling Price>14 AND Unit Selling Price
^
[SQL: SELECT * FROM st_read('samsung_sales.xlsx', layer='Orders') WHERE "Unit Selling Price" > 14 LIMIT 10;]
The text was updated successfully, but these errors were encountered:
Hi! Thanks for reporting this issue. It seems like we need to add additional quoutes/escapes when pushing down filters into the GDAL scan. Will look into fixing it!
If you load a .xlsx where one of the column names has spaces, you can use it in a
SELECT
clause but not in aWHERE
clause.Repro: Use this excel file:
samsung_sales.xlsx
Run:
INSTALL spatial; LOAD spatial;
SELECT * FROM st_read('samsung_sales.xlsx', layer='Orders') WHERE \"Unit Selling Price\" > 14 LIMIT 10;
or this script if preferred:
excel_col_space.py.zip
Using DuckDB 0.9.2. Also did not work with installing nightly spatial.
Error:
The text was updated successfully, but these errors were encountered: