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

Unable to scan Redshift catalog #244

Open
alvaromaroto opened this issue Jan 18, 2024 · 0 comments
Open

Unable to scan Redshift catalog #244

alvaromaroto opened this issue Jan 18, 2024 · 0 comments

Comments

@alvaromaroto
Copy link

It seems there is a bug when you try to scan Redshift catalog. There is an extra where in the Redshift query, so I think there is a issue with the databuilder library (https://github.com/amundsen-io/amundsen/blob/main/databuilder/databuilder/extractor/redshift_metadata_extractor.py#L36). It throws the following exception:

sqlalchemy.exc.ProgrammingError: (psycopg2.errors.SyntaxError) syntax error at or near "WHERE"
LINE 52:             WHERE SCHEMA NOT IN ('information_schema', 'pg_c...

Can you help me?

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