generated from liquibase/liquibase-extension-example
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ignored new version of advanced test for now
- Loading branch information
1 parent
d362423
commit 1eb3b62
Showing
9 changed files
with
57 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/test/resources/liquibase/harness/change/changelogs/databricks/optimizeTable.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"databaseChangeLog": [ | ||
{ | ||
"changeSet": { | ||
"id": "1", | ||
"author": "your.name", | ||
"changes": [ | ||
{ | ||
"optimizeTable": { | ||
"tableName": "authors", | ||
"zorderColumns": "id,first_name" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
src/test/resources/liquibase/harness/change/changelogs/databricks/optimizeTable.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
databaseChangeLog: | ||
- changeSet: | ||
id: 1 | ||
author: your.name | ||
changes: | ||
- optimizeTable: | ||
tableName: authors | ||
zorderColumns: "id,first_name" |
18 changes: 18 additions & 0 deletions
18
src/test/resources/liquibase/harness/change/changelogs/databricks/vacuumTable.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"databaseChangeLog": [ | ||
{ | ||
"changeSet": { | ||
"id": "1", | ||
"author": "your.name", | ||
"changes": [ | ||
{ | ||
"vacuumTable": { | ||
"tableName": "authors", | ||
"retentionHours": 168 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
8 changes: 8 additions & 0 deletions
8
src/test/resources/liquibase/harness/change/changelogs/databricks/vacuumTable.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
databaseChangeLog: | ||
- changeSet: | ||
id: 1 | ||
author: your.name | ||
changes: | ||
- vacuumTable: | ||
tableName: authors | ||
retentionHours: 168 |
2 changes: 1 addition & 1 deletion
2
src/test/resources/liquibase/harness/change/expectedSql/databricks/optimizeTable.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
OPTIMIZE main.liquibase_harness_test_ds.authors ZORDER BY (id) | ||
OPTIMIZE main.liquibase_harness_test_ds.authors ZORDER BY (id, first_name) |
1 change: 1 addition & 0 deletions
1
src/test/resources/liquibase/harness/generateChangelog/expectedSql/column.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CREATE TABLE test_table (test_column INT NULL, varcharColumn VARCHAR(25) NULL, intColumn INT NULL, dateColumn date NULL); |
1 change: 1 addition & 0 deletions
1
src/test/resources/liquibase/harness/generateChangelog/expectedSql/primary.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
CREATE TABLE test_table (id INT NOT NULL, CONSTRAINT PK_TEST_TABLE PRIMARY KEY (id)); |