-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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 not propagating correctly (Postgres) #325
Comments
I can confirm I'm getting the same behaviour. Appears to be raising the error at: I'm likewise using metadata_params JSON to indicate schema. |
Ok, seems like I'll have to install a postgres install to get to the bottom of this. In the meantime, I think the workaround is to connect with a user that matches the schema name. Please confirm that this works, though it should be a temporary workaround only as we'll address the issue. |
Anybody interested in testing this branch? This should address all the issues. |
Will do so now. |
I'm a newbie to caravel entirely, and may just be running into issues with trying to test a new branch, but I am seeing references to |
Bumps [@vx/legend](https://github.com/hshoff/vx) from 0.0.192 to 0.0.193. - [Release notes](https://github.com/hshoff/vx/releases) - [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md) - [Commits](airbnb/visx@v0.0.192...v0.0.193) Signed-off-by: dependabot-preview[bot] <[email protected]>
Bumps [@vx/legend](https://github.com/hshoff/vx) from 0.0.192 to 0.0.193. - [Release notes](https://github.com/hshoff/vx/releases) - [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md) - [Commits](airbnb/visx@v0.0.192...v0.0.193) Signed-off-by: dependabot-preview[bot] <[email protected]>
Bumps [@vx/legend](https://github.com/hshoff/vx) from 0.0.192 to 0.0.193. - [Release notes](https://github.com/hshoff/vx/releases) - [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md) - [Commits](airbnb/visx@v0.0.192...v0.0.193) Signed-off-by: dependabot-preview[bot] <[email protected]>
Bumps [@vx/legend](https://github.com/hshoff/vx) from 0.0.192 to 0.0.193. - [Release notes](https://github.com/hshoff/vx/releases) - [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md) - [Commits](airbnb/visx@v0.0.192...v0.0.193) Signed-off-by: dependabot-preview[bot] <[email protected]>
I have been able to successfully connect to a Postgres db, in a non-public schema, and configure a table. However, when I create a slice or browse the table I get the following error, which appears to be an issue with explicit SQL not bringing along the schema name. The FROM statement should reference
schemaname.tablename
and is only referencingtablename
. I am using the metadata_params JSON to indicate the schema.ProgrammingError: (psycopg2.ProgrammingError) relation "tablename" does not exist LINE 2: FROM tablename ^ [SQL: "SELECT fieldname AS fieldname, COUNT(*) AS count \nFROM tablename \nWHERE date_as_of >= '2015-04-11 12:30:48.000000' AND date_as_of <= '2016-04-11 12:30:48.000000' GROUP BY fieldname ORDER BY COUNT(*) DESC \n LIMIT 50000"]
The text was updated successfully, but these errors were encountered: