SQLite's real(float) datatype is not supported
ccwang002 opened this issue · comments
Liang-Bo Wang commented
I got an invalid error Invalid Error: FLOAT
while trying to read an attached SQLite table with a real/float column. Here are the steps to reproduce:
Create a SQLite database:
echo "CREATE TABLE my (a REAL); INSERT INTO my VALUES (10.34), (0.042);" | sqlite3 my.db
Attach it from DuckDB (./build/release/duckdb -unsigned
):
D LOAD 'build/release/extension/sqlite_scanner/sqlite_scanner.duckdb_extension';
D CALL sqlite_attach('my.db');
D SELECT * FROM my;
Error: Invalid Error: FLOAT
I was able to load tables of other data types (e.g., text, integer).
Also, thank you for making this extension. Now it's much easier to transfer/load data from existing SQLite databases to DuckDB.
aley1 commented
I've encountered the same error, hopefully this will get fixed soon.