Skip to content

Commit

Permalink
added expected json to createTableWithDefaultValues.json
Browse files Browse the repository at this point in the history
  • Loading branch information
KushnirykOleh committed Sep 10, 2024
1 parent 8d417fe commit 8e45dd3
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
)
public class DatetimeDatatypeDatabricks extends DateTimeType {


@Override
public DatabaseDataType toDatabaseDataType(Database database) {
if (database instanceof DatabricksDatabase) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@
aliases = {"clob", "java.lang.String"}
)
public class StringDatatypeDatabricks extends VarcharType {
public StringDatatypeDatabricks() {
}

@Override
public DatabaseDataType toDatabaseDataType(Database database) {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"snapshot": {
"objects": {
"liquibase.structure.core.Table": [
{
"table": {
"name": "tableWithDefaultValues"
}
}
],
"liquibase.structure.core.Column": [
{
"column": {
"name": "longcolumn",
"type": {
"typeName": "BIGINT"
}
}
},
{
"column": {
"name": "eventTime",
"type": {
"typeName": "TIMESTAMP"
}
}
},
{
"column": {
"name": "year",
"type": {
"typeName": "INT"
}
}
},
{
"column": {
"name": "eventDate",
"type": {
"typeName": "DATE"
}
}
},
{
"column": {
"name": "eventDescription",
"type": {
"typeName": "STRING"
}
}
},
{
"column": {
"name": "eventShortDescription",
"type": {
"typeName": "STRING"
}
}
}
]
}
}
}

0 comments on commit 8e45dd3

Please sign in to comment.