You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The schema is already set as the default schema, so what you are suggesting is already the case, e.g.:
attach ''as s (type postgres);
select*froms.t;
-- Catalog Error: Table with name t does not exist!-- Did you mean "s.s1.t"?-- LINE 1: select * from s.t;-- ^select*froms.s1.t;
┌───────┐
│ c │
│ int32 │
├───────┤
│ 42 │
└───────┘
detach s;
attach ''as s (type postgres, schema s1);
D select*froms.t;
┌───────┐
│ c │
│ int32 │
├───────┤
│ 42 │
└───────┘
What happens?
With this commit 33598a6 , we now can attach to a specific schema instead of the entire target database, which helps us a lot. thanks a lot.
But since the schema parameter is supported, it becomes meaningless to require the schema name in query sel when accessing data.
The expected behavior : select * from s.tab1;
Current behavior: select * from s.schema1.tab1;
To Reproduce
OS:
Linux CentOS8
PostgreSQL Version:
15
DuckDB Version:
1.1.0
DuckDB Client:
jdbc
Full Name:
Shi.Zhao
Affiliation:
Oracle
Have you tried this on the latest
main
branch?Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?
The text was updated successfully, but these errors were encountered: