duckdb-node icon indicating copy to clipboard operation
duckdb-node copied to clipboard

Assertion failed error

Open thomasstjerne opened this issue 1 year ago • 1 comments

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

  1. has no variables
  2. 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)

thomasstjerne avatar Nov 22 '23 13:11 thomasstjerne