liquibase-redshift | Liquibase support for Redshift | Cloud Storage library
kandi X-RAY | liquibase-redshift Summary
kandi X-RAY | liquibase-redshift Summary
This is a Liquibase extension for connecting to a Redshift database. Amazon Redshift is a fully managed, petabyte-scale data warehouse service in the cloud.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Generates the SQL for a tag database statement
- Quote an object name
- Get the default database driver
- Ensures that the tag is valid
- Returns true if the table is reserved word
- Checks to see if the database connection is correct
liquibase-redshift Key Features
liquibase-redshift Examples and Code Snippets
org.liquibase
liquibase-maven-plugin
4.3.2
liquibase.properties
org.liquibase.ext
liquibase-redshift
${liquibase-redshift.v
public class Application {
public static void main(String[] args) {
RedshiftDatabase database = (RedshiftDatabase) DatabaseFactory.getInstance().openDatabase(url, null, null, null, null);
Liquibase liquibase = new Liquibase("liqui
Community Discussions
Trending Discussions on liquibase-redshift
QUESTION
I'm trying to make use of the liquibase (v3.6.1) redshift lib (https://github.com/liquibase/liquibase-redshift) to automate udpates to our redshift cluster and I'm running into an issue. When Liquibase tries to create the databasechangelog table for the first time it fails because the column name "TAG" is a reserved word in Redshift.
Now, I did find this thread (http://forum.liquibase.org/topic/redshift-support) which brings up the issue with the lib author. I am using the latest release (1.0) of the library, which while not that recent, has supposedly fixed this issue according to the lib author. However, it either isn't fixed, or alternatively because this is a column name internally used by Liquibase it doesn't do any checking against the library's reserved words list.
My question is this - is there a way to tell Liquibase to use a different name for the TAG column? If I could do that then I might be able to get around this issue.
...ANSWER
Answered 2018-Sep-12 at 09:22Actually this column name is hard coded. You can customize the name of the two liquibase tables but not the columns inside
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install liquibase-redshift
You can use liquibase-redshift like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the liquibase-redshift component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page