This is a Liquibase extension for connecting to a Teradata database. Teradata Database includes a variety of built-in features that makes it faster and more efficient to run a wider scope of analytical processes, features that let you easily maintain and base analyses on the changes in your business data, enhance cube processing, data mining, query, performance, modeling, and others.
These instructions will help you get the extension up and running on your local machine for development and testing purposes. This extension has a prerequisite of Liquibase core in order to use it. Liquibase core can be found at https://www.liquibase.org/download.
Requires Liquibase 3.0.6+
It has been tested with Teradata V12.
Download the latest released Liquibase extension .jar
file and place it in the liquibase/lib
install directory. If you want to use another location, specify the extension .jar
file in the classpath
of your liquibase.properties file.
Specify the Liquibase extension in the <dependency>
section of your POM file by adding the org.liquibase.ext
dependency for the Liquibase plugin.
<plugin>
<!--start with basic information to get Liquibase plugin:
include <groupId>, <artifactID>, and <version> elements-->
<groupId>org.liquibase</groupId>
<artifactId>liquibase-maven-plugin</artifactId>
<version>4.3.2</version>
<configuration>
<!--set values for Liquibase properties and settings
for example, the location of a properties file to use-->
<propertyFile>liquibase.properties</propertyFile>
</configuration>
<dependencies>
<!--set up any dependencies for Liquibase to function in your
environment for example, a database-specific plugin-->
<dependency>
<groupId>org.liquibase.ext</groupId>
<artifactId>liquibase-teradata</artifactId>
<version>${liquibase-teradata.version}</version>
</dependency>
</dependencies>
</plugin>
public class Application {
public static void main(String[] args) {
TeradataDatabase database = (TeradataDatabase) DatabaseFactory.getInstance().openDatabase(url, null, null, null, null);
Liquibase liquibase = new Liquibase("liquibase/ext/changelog.generic.test.xml", new ClassLoaderResourceAccessor(), database);
liquibase.update("");
}
}
To file a bug, improve documentation, or contribute code, follow our guidelines for contributing.
This step-by-step instructions will help you contribute code for the extension.
Once you have created a PR for this extension you can find the artifact for your build using the following link: https://github.com/liquibase/liquibase-teradata/actions/workflows/build.yml.
Any issues can be logged in the Github issue tracker.
This project is licensed under the Apache License Version 2.0.