duckdb / duckdb/duckdb-node

Assertion failed error

Open
#37 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
91
Forks
36
PR merge metrics
No merged PRs in 30d

Description

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)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.