Data and AI struggles

1,758 problems · 344 companies

Databases

DuckDB users keep filing bugs

21 posts from 14 people14d activeFading, +0 this week

Posts per day

Posts per day21 posts, Aug 28 to Nov 10

The posts behind it

GitHub issuesdbt-labs/dbt · anentropicOct 26

[Feature] Support duckdb 2

### Is this your first time submitting a feature request? - [x] I have read the [expectations for open source contributors](https://docs.getdbt.com/docs/contributing/oss-expectations) - [x] I have searched the existing issues, and I could not find an existing issue for this...

4 reactions1 replies
GitHub issuesduckdb/duckdb · flo8Oct 22

v2.0.0: planning a query that uses a `NOT MATERIALIZED` CTE over an S3 glob lists the glob again for every use of the CTE

### What happens? ### What happens On v2.0.0, when a CTE reads `read_parquet('s3://.../**/*.parquet')` and is declared `AS NOT MATERIALIZED`, planning the query sends one more S3 list request for each place the CTE is used. The requests run one after another, so planning time...

GitHub issuesduckdb/duckdb · accoOct 22

Pull in upstream Brotli decoder fix (CVE-2026-111497)

[google/brotli](https://github.com/google/brotli) recently fixed a bug in the decoder where a malformed stream could cause an out-of-bounds write ([CVE-2026-111497](https://vercel.com/kb/bulletin/node-js-security-advisory)). The fix is in google/brotli@0ed4268a and released in...

GitHub issuesduckdb/duckdb · szarnyasgOct 21

DuckDB 2.0.0 is out: DuckDB-as-a-server, async I/O, extensible parser, agent mode, triggers, and so on

Read more in [Announcing DuckDB 2.0.0 LTS “Cinnamon Teal”](https://duckdb.org/2026/10/21/announcing-duckdb-200)

2 reactions5 replies
GitHub issuesduckdb/duckdb · MarcelRoelofsOct 21

`CMakeLists.txt` hard-codes the static MSVC runtime, overriding `CMAKE_MSVC_RUNTIME_LIBRARY` from toolchains/users

### What happens? Since 1.5.0, the top-level `CMakeLists.txt` unconditionally does This overrides a value set by the user (`-DCMAKE_MSVC_RUNTIME_LIBRARY=...`) or by a toolchain file (e.g. Conan's `conan_toolchain.cmake`, vcpkg), so DuckDB is always built with `/MT`/`/MTd`....

GitHub issuesduckdb/duckdb · loongfeijjOct 21

append_metadata.cmake silently generates a truncated extension footer with CMake 3.17.5

### What happens? `scripts/append_metadata.cmake` silently generates an invalid extension footer when executed with CMake 3.17.5. The script declares CMake 3.15 as its minimum version, but with CMake 3.17.5 all NUL bytes used for metadata padding are lost. The command exits...

GitHub issuesduckdb/duckdb · MarcelRoelofsOct 21

2.0.0 does not compile in MSVC Debug: `D_ASSERT` references helpers that only exist with `DEBUG`

...### To Reproduce From a "x64 Native Tools Command Prompt for VS 2022": (MSVC 19.44. Workaround in the Conan recipe: define `NDEBUG` for MSVC Debug builds, which disables these asserts as in release builds.) - **OS:** Windows 11 x86_64 - **DuckDB Version:** 2.0.0 - **DuckDB...

GitHub issuesduckdb/duckdb · szarnyasgOct 20

CLI help page reports outdated storage version

DuckDB v2.0 CLI's help reports the default storage version as v0.10.0:

1 replies
GitHub issuesduckdb/duckdb · h4nsmullerOct 14

quantile_disc with a DOUBLE quantile parameter is off by one at integral n*q, and differs between code paths (FMA contraction)

`quantile_disc(x, q)` computes the discrete index differently depending on the type of the constant `q` (extension/core_functions/include/core_functions/aggregate/quantile_sort_tree.hpp, `QuantileInterpolator ::Index`): - DECIMAL q: exact integer arithmetic, `floored =...

GitHub issuesduckdb/duckdb · jatorreOct 14

`&&` (`ST_Intersects_Extent`) on CRS-parameterized `GEOMETRY('<crs>')` is not pushed down in conjunctions on 2.0

### What happens? On DuckDB 2.0 nightlies (`2.0.0.dev2609250715`, `2.0.0.dev2610011535`), a bounding-box filter `g && ` (`ST_Intersects_Extent`) on a CRS-parameterized geometry column (e.g. `GEOMETRY('OGC:CRS84')` or `GEOMETRY('EPSG:4326')`) is not pushed down into the table...

GitHub issuesduckdb/duckdb · thomas-0816Oct 12

v2: ArrayStats::GetChildStats called on stats that is not a array

### What happens? gives: INTERNAL Error: ArrayStats::GetChildStats called on stats that is not a array Stack Trace: ### To Reproduce see above ### OS: Linux ### DuckDB Version: v2.0.0-alpha46057 ### DuckDB Client: cli ### Hardware: amd64 ### Full Name: Thomas Bley ###...

2 replies
GitHub issuesduckdb/duckdb · thomas-0816Oct 11

v2: IO Error: Could not set lock on file

### What happens? `SELECT * FROM duckdb_extensions()` gives: while other processes running in parallel with: `INSTALL vss; LOAD vss;` ### To Reproduce process 1: `SELECT * FROM duckdb_extensions();` process 2: `INSTALL vss; LOAD vss;` ### OS: Linux ### DuckDB Version:...

GitHub issuesduckdb/duckdb · jincongho-floeOct 9

Task Scheduler is Unfair: Always Prioritize 3 Queries Only

### What happens? When running the same query concurrently on several connections, I noticed the worker threads consistently serve the same three connections while the remaining connections get no worker time. This appears to come from the dequeue heuristic of the moodycamel...

GitHub issuesduckdb/duckdb · ylwango613Oct 2

ManualVuln30 Unguarded Negation of INT64_MIN in LEAD/LAG Streaming Offset Computation

### What happens? `WindowLeadLagStreamingState::ComputeOffset()` in `src/function/window/window_value_function.cpp:377-379` negates the user-supplied offset for the `LEAD` window function without first checking whether the value is `INT64_MIN`: When the BIGINT offset evaluates...

1 replies
GitHub issuesduckdb/duckdb · ylwango613Oct 2

ManualVuln42 approx_top_k() Import State Accepts Out-of-Order Count Entries Violating Descending-Sort Invariant

### What happens? `ApproxTopKImportState` (`extension/core_functions/aggregate/holistic/approx_top_k.cpp` lines 479 to 548) validates only that the number of supplied values does not exceed the capacity and that the filter array has the correct size. It does not verify that the...

GitHub issuesduckdb/duckdb · szarnyasgOct 1

Try DuckDB v2.0-dev!

We are releasing DuckDB v2.0 this month. [Try the preview builds now](https://duckdb.org/2026/09/02/try-duckdb-20-alpha.html) and let us know if you encounter any issues.

GitHub issuesduckdb/duckdb · ylwango613Sep 23

NewVuln11: OOB Write via COMPRESSION_COUNT Sentinel in SetDisabledCompressionMethods

### What happens? `CompressionFunctionSet::SetDisabledCompressionMethods()` in `src/function/compression_config.cpp` uses `COMPRESSION_COUNT` (value 16) as a sentinel for the `CompressionType` enum, but the guard switch in `src/main/settings/custom_settings.cpp` does not reject...

GitHub issuesduckdb/duckdb · ylwango613Sep 23

NewVuln1: Unbounded Recursion in ScanNestedSchemas Causes Stack Overflow

### What happens? `ScanNestedSchemas` in `src/catalog/duck_catalog.cpp` (lines 161-178) recurses into every child schema entry without any depth limit. Because `CreateSchemaInternal` imposes no cap on nesting depth, an attacker can create a schema chain of arbitrary depth via...

GitHub issuesduckdb/duckdb · lmaltsisSep 22

use-after-free ASAN trigger on dangling BoundColumnRefExpression

### What happens? data-dependent write of 16 bytes unto freed dangling pointer of BoundColumnRefExpression, triggers on ASAN-instrumented build: It seems an independent fix for this has landed in the cyanoptera branch via...

1 replies
GitHub issuesduckdb/duckdb · rustyconoverSep 21

C API v2: no way to set catalog metadata (description, examples, categories, comment, tags) on registered objects

...`comment`, `tags`) and `duckdb_types()` (`comment`, `tags`) - the C API just has no way to populate it. ### What v2 already covers Parameter names come from `duckdb_v2_function_signature_add_parameter(sig, name, type, ...)`, and `*_set_property()` covers stability, null...

3 reactions3 replies
GitHub issuesduckdb/duckdb · imkowAug 28

latest alpha DuckDB 2.0 with Quack server on Windows/Linux got `Authentication failed` since several days ago

### What happens? Installed required quack and httpfs extensions. started server, and run cli client to access the server with quack. Got this error: last known good version is alpha build 38947. no prolem on macOS for the same test . ### To Reproduce Install required quack and...

2 reactions7 replies

Companies and products named

21 posts
6 posts
1 post
1 post
About this problem

Evidence

21 posts from 14 people in 2 places, about 2 a week over 60 days. Mostly on duckdb/duckdb, dbt-labs/dbt. Tools named alongside: GitHub, Stack Overflow, Vercel, dbt.

Frustration Frustration 0 of 3· Seen on GitHub issues

Summary, model-written

DuckDB users encounter C API limitations, connection errors, incorrect BIGNUM cast values, invalid compression settings, and dangling pointer writes.

How it was grouped

Posts about DuckDB that state a pain but match no known issue yet. First post Aug 28, 2026, latest Oct 26, 2026. Corroborated: 3 or more posts from 2 or more people or places. Method

Other DuckDB problems

DuckDB upgrades break working setups

37 posts from 28 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 14 posts from 7 people on GitHub issues.

DuckDB error messages are cryptic

11 posts from 7 people on GitHub issues.

Trouble with DuckDB returns

Top post: "Comparison simplification returns an incorrect result when a narrowing `DECIMAL` cast is used", one of 9 posts from 9 people on GitHub issues.

Trouble with DuckDB join

Top post: "Segfault in `dense_rank() OVER ()` over a RIGHT_ANTI hash join that returns its unmatched rows", one of 9 posts from 8 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 7 posts from 5 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 7 posts from 6 people on GitHub issues.

Trouble with DuckDB null

Top post: "DuckDB: `HAVING` of `(φ IS TRUE) OR NOT (φ IS TRUE) AND …` is empty for a NULL `φ`, but the same boolean as", one of 6 posts from 6 people on GitHub issues.

Trouble with DuckDB values

Top post: "ManualVuln37 Unbounded Recursion in EncodeVariantValue Causes Stack Overflow via variant_comparator on Deeply", one of 6 posts from 6 people on GitHub issues.

Experiments on DuckDB are hard to reproduce and track

6 posts from 4 people on GitHub issues.

Trouble with DuckDB parquet

Top post: "External file cache range metadata grows for deleted local Parquet files in v1.5.6 despite buffer eviction", one of 5 posts from 5 people on GitHub issues.

DuckDB costs outgrow the value it gives

4 posts from 4 people on GitHub issues.

History

Momentum went from steady to fading.

Nov 6, 2026

Momentum went from fading to steady.

Nov 4, 2026

Momentum went from rising to fading.

Oct 28, 2026

Momentum went from steady to rising.

Oct 25, 2026

Summary written by a model: DuckDB users encounter C API limitations, connection errors, incorrect BIGNUM cast values, invalid compression settings, and dangling pointer writes.

Oct 23, 2026

Momentum went from fading to steady.

Oct 23, 2026

Momentum went from steady to fading.

Oct 19, 2026

Momentum went from rising to steady.

Oct 18, 2026

Momentum went from fading to rising.

Oct 15, 2026

Momentum went from steady to fading.

Oct 9, 2026

Momentum went from rising to steady.

Oct 8, 2026

Momentum went from fading to rising.

Oct 7, 2026