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

Schema "public" hardcode in postgres_async_db.py #335

Open
alcaldj opened this issue Oct 13, 2022 · 0 comments
Open

Schema "public" hardcode in postgres_async_db.py #335

alcaldj opened this issue Oct 13, 2022 · 0 comments

Comments

@alcaldj
Copy link

alcaldj commented Oct 13, 2022

Although the function setup_trigger_notify allow you to pass postgresql schema as a parameter, the line where it is invoked (line 164 on same file), schema parameter is not passed. I would suggest to create it an env variable and pass it. If variable is empty, then public schema in postrges would be used.

I installed Metaflow service on a custom schema but when i tried to start Metaflow UI, it was failing because tables were not on PUBLIC schema. I implemented the proposed solution and it did work.

Thanks a lot for your support in advance and great job!!

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

1 participant