-
Notifications
You must be signed in to change notification settings - Fork 8
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
[defog
] Postgres table names should be passed along with their respective schemas
#8
Comments
Hi @JeevansSP , just checking if you could share your ~/.defog/connection.json (with the credentials redacted)? I believe that the schema/db details should be in that file already and you shouldn't need to specify the schema/database when using the python library. |
{
"api_key": "key",
"db_type": "postgres",
"db_creds": {
"host": "url",
"port": "5432",
"database": "db",
"user": "postgres",
"password": "pass"
}
} Even during the |
Thanks for the clarification and the connection.json file. To check my understanding: the database name here is |
Yes you are right |
I was trying to generate postgre schema
But was getting an empty schema
And if I pass the tables without the schema prefix I would get the below error
The text was updated successfully, but these errors were encountered: