duckdb / duckdb/duckdb-quack

Quack Client: discover server objects (tables, views, etc) using information_schema.tables/information_schema.views and/or duckdb_tables and/or SHOW TABLES

Open
#175 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
183
Forks
51
Avg merge
23h 56m
Merged PRs (30d)
10

Description

DuckDB 1.5.4.

I set up a quack server and a quack client as per https://duckdb.org/quack/
the client can select from the remote table.

However, when I run ```SELECT * FROM information_schema.tables```, or friends like ```select * from duckdb_tables()``` the remote database does not show up.
I can discover tables using ```SELECT * FROM remote.query('SELECT * FROM information_schema.tables')``` , but I was hoping that is not necessary.

I expected it to work without explicitly calling remote.query, because when I attach a ducklake or iceberg catalog, I can also discover those tables using just a plain query on information_schema.tables. Since access to those was also obtained through `ATTACH`, one would expect that the mechanism for discovering objects would also the same.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the quack client/server setup and compare information_schema.tables, information_schema.views, duckdb_tables(), and SHOW TABLES with the remote.query workaround. Read the existing catalog-discovery behavior for attached DuckLake or Iceberg catalogs if available in the project; done means remote objects appear in ordinary metadata queries without explicitly calling remote.query.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.