-
Notifications
You must be signed in to change notification settings - Fork 18
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
Error getting current schema #4
Comments
@crony1 Did you resolve this? |
Hi, |
@haavardeide I never did resolve this unfortunately. |
I just ran across this by chance while searching for a related Redshift error. The current_schema error can be resolved by changing |
we faced the same issue: "Amazon Invalid operation: column "current_schema" does not exist;" |
Hi I committed a workaround to use "public" schema instead of launching an unsupported query. I quickly tried to use "select current_schema()" request but it didn't work and I didn't work again on this issue. Hope it helps |
@ValentinOzanne That fork did the trick for me! Thanks! |
Please merge your fix back into the main project so we can eventually get this version from the maven-repo. |
Btw, the Error setting up or running Liquibase: java.sql.SQLException: Amazon Invalid operation: syntax error at or near "TAG"; is caused during the creation of databasechangelog. This is because you use a mysql script for redshift. Tag is not a reserved word in mysql, but it is a reserved word in Redshift |
Did anyone work around the |
I am trying to use Liquibase for redshift migration and ran into the same issue @Engineer1111 highlighted. Please help on the workaround. Can I go ahead and use it for redshift? |
Using 1.0-SNAPSHOT it is working |
Issue #4: Error getting current schema
@nvoxland, Could you please deploy/publish artifacts version 1.1, containing latest changes? Thanks a lot! |
I've built latest 1.1-SNAPSHOT and put into local repo, but the issue with As well weird things may happened after few restarts all tables are recreated. WHY? |
Created PR for TAG issue.
|
Can we have this resolved please? |
The plugin is issuing 'select current_user' to Redshift and erroring with the following:
Unexpected error running Liquibase: Error executing SQL select current_schema: [Amazon](500310) Invalid operation: column "current_schema" does not exist;
Issuing the command directly to Redshift returns the same error. I believe the correct statement should be 'select current_schema()' according to Amazon documentation
EDIT: I should add that I was using the JDBC driver provided by Amazon.
┆Issue is synchronized with this Jira Bug by Unito
The text was updated successfully, but these errors were encountered: