#11003·marimo

DuckDB connection ignores database, schema, and table auto-discovery config

Author: kien-truongCreated Sep 28, 2026Updated Sep 28, 2026
Labelsbug

Describe the bug

Currently, DuckDB connections are ignoring database, schema, and table auto-discovery configuration and always performing introspection.

This is problematic when a slow remote data source such as a large Iceberg catalog is attached to the DuckDB instance, as the auto-discovery process will also scan the that remote data source before returning control back to the users.

Will you submit a PR?

  • Yes

Environment

json
{
  "marimo": "0.25.0",
  "editable": false,
  "OS": "Linux",
  "OS Version": "6.17.0-22-generic",
  "Processor": "x86_64",
  "Python Version": "3.14.2",
  "Locale": "en_US",
  "Binaries": {
    "Browser": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/153.0.0.0 Safari/537.36 Edg/153.0.0.0",
    "Node": "v24.14.1",
    "uv": "0.12.19 (x86_64-unknown-linux-gnu)"
  },
  "Experimental Flags": {}
}

Code to reproduce

No response