Data and AI struggles

2,390 problems · 399 companies

Databases

Trouble with DuckDB order

2 posts from 2 people2d activeSteady, +1 this weekunverified

Posts per day

Posts per day2 posts, Nov 10 to Dec 1

The posts behind it

GitHub issuesduckdb/duckdb · ylwango613Nov 28

logicbug5 — LAG/LEAD with secondary ORDER BY and IGNORE NULLS: row_tree and value_tree index mismatch

### What happens? When `LAG`/`LEAD` combines a secondary `ORDER BY` with `IGNORE NULLS`, DuckDB builds two segment trees: `row_tree` indexing all rows (including NULLs) and `value_tree` indexing only non-NULL rows. The bug is in index translation: the offset is computed via...

2 replies
GitHub issuesduckdb/duckdb · gishorNov 10

v2.1.0-dev93122: Potential bug with order of execution

### What happens? This is a followup to #26098. I noticed this query still fails with latest main, but it passes with 1.5.6. It's again the order of evaluation that's causing issues. Is the order of execution something that we could expect? ### To Reproduce git bisect points to...

Companies and products named

2 posts
About this problem

Evidence

2 posts from 2 people in 1 place, about 1 a week over 19 days. Mostly on duckdb/duckdb.

Frustration Frustration 0 of 3· Seen on GitHub issues

How it was grouped

Posts about DuckDB with no known issue, sharing the word "order". First post Nov 10, 2026, latest Nov 28, 2026. Unverified: fewer than 3 posts, or one person or place only. Method

Other DuckDB problems

DuckDB upgrades break working setups

64 posts from 49 people on GitHub issues.

DuckDB runs out of memory

8 posts from 8 people on GitHub issues.

Experiments on DuckDB are hard to reproduce and track

15 posts from 9 people on GitHub issues.

Trouble with DuckDB column

Top post: "2.0 alpha: comparing a CASE/split_part result to a constant fails with BindBuiltinScalarFunction did not", one of 10 posts from 6 people on GitHub issues.

Trouble with DuckDB cast

Top post: "TRY_CAST of an empty BLOB to BIT escapes a non-fallible __cast and invalidates the database", one of 13 posts from 11 people on GitHub issues.

Trouble with DuckDB returns

Top post: "Segfault in `dense_rank() OVER ()` over a RIGHT_ANTI hash join that returns its unmatched rows", one of 22 posts from 17 people on GitHub issues.

Trouble with DuckDB internal

Top post: "duckdb 2.0.0 fails to launch on BE: `INTERNAL Error: The time zone data is corrupt`", one of 21 posts from 13 people on GitHub issues.

DuckDB error messages are cryptic

13 posts from 9 people on GitHub issues.

Trouble with DuckDB join

Top post: "WHERE col IN (...) with >= 5 elements containing NULL drops scan filter pushdown in MARK join rewrite", one of 13 posts from 12 people on GitHub issues.

DuckDB users keep filing bugs

Top post: "Support duckdb 2", one of 9 posts from 8 people on GitHub issues.

Trouble with DuckDB null

Top post: "json_merge_patch keeps null members when the original document is not an object (RFC 7396)", one of 8 posts from 8 people on GitHub issues.

DuckDB costs outgrow the value it gives

6 posts from 6 people on GitHub issues.

History

Momentum went from fading to steady.

Dec 1, 2026

Momentum went from new to fading.

Nov 17, 2026

First seen with 1 post; the top post now: "logicbug5, LAG/LEAD with secondary ORDER BY and IGNORE NULLS: row_tree and value_tree index mismatch".

Nov 11, 2026