-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Support schema selection for Redshift source connector #9525
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
Comments
Hi @tuliren . It seems that the Redshift jdbc driver doesn't support a schema selection as we have in ex. Postgres/Oracle/ etc. https://docs.aws.amazon.com/redshift/latest/mgmt/jdbc20-obtain-url.html |
Thank you for looking into this. The doc is a bit confusing. In the second link, it does mention
Currently we specify the database name after the port. Maybe that parameter can be the schema as well, according to this doc. Can you try something like Also, I found this in the Redshift JDBC code: /**
* Specify the schema (or several schema separated by commas) to be set in the search-path. This schema will be used to resolve
* unqualified object names used in statements over this connection.
*/
CURRENT_SCHEMA(
"currentSchema",
null,
"Specify the schema (or several schema separated by commas) to be set in the search-path"), Maybe this connection URL property is not properly documented. Can you also try that? This may require upgrading to JDBC version |
Hi @tuliren. Thanks, I will take a look. |
Tell us about the problem you're trying to solve
Allow users to specify which schemas to sync when setting up a Redshift connection.
Describe the solution you’d like
Similar to Postgres or Oracle source, add a
schemas
field inspec.json
.Describe the alternative you’ve considered or used
N/A
Additional context
The text was updated successfully, but these errors were encountered: