duckdb-node
duckdb-node copied to clipboard
Assertion failed error
After updating from v0.8.1 to v0.9.2 I get the following error:
Assertion failed: (input.GetSize() <= sizeof(uint8_t)), function StringCompress, file compress_string.cpp, line 65.
The error happens when I execute a prepared statement that
- has no variables
- has an
ORDER BY
So this statement works:
const getDatasetsForUserStmt = con.prepare('SELECT * FROM UserDatasets WHERE user_name = ? ORDER BY created DESC');
whereas this doesn´t:
const getAllDatasetsStmt = con.prepare('SELECT * FROM UserDatasets ORDER BY created DESC');
I am on an Apple M1 Pro processor, macOS 14.1 (23B74)