Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Support for Schema / Attached Databases #18

Open
aersam opened this issue Jul 17, 2024 · 2 comments
Open

Better Support for Schema / Attached Databases #18

aersam opened this issue Jul 17, 2024 · 2 comments

Comments

@aersam
Copy link

aersam commented Jul 17, 2024

Hi there

expanding a table in the tree on the left which is not in the default schema fails:
image

image

Attached databases also seem to suffer from this behavior

Otherwise I really like the extension, it's great to work with it

@tyw214
Copy link

tyw214 commented Jul 25, 2024

actually i have this exact same issue. it doesn't seem to work when there is multiple schema inside of one db... it seems like something to do with not knowing the fully qualified name of the actual table. otherwise, this is a solid schema.

@archiewood
Copy link
Member

My assumption here is there is an issue with the generated query for non default schemas, and in the case that the table is in a non-default schema the query needs to be prefixed with the schema:

https://github.com/evidence-dev/sqltools-duckdb-driver/blob/master/src/ls/queries.ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants