Skip to content

Commit

Permalink
feat: link databricks specific changes to XSD
Browse files Browse the repository at this point in the history
  • Loading branch information
filipelautert committed Oct 4, 2024
1 parent 0d9b89f commit 7feee50
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import liquibase.database.Database;
import liquibase.exception.ValidationErrors;
import liquibase.ext.databricks.database.DatabricksDatabase;
import liquibase.ext.databricks.parser.NamespaceDetailsDatabricks;
import liquibase.servicelocator.PrioritizedService;
import liquibase.statement.core.CreateTableStatement;
import lombok.Setter;
Expand Down Expand Up @@ -71,4 +72,9 @@ public ExtendedTableProperties getExtendedTableProperties() {
return extendedTableProperties;
}

@Override
public String getSerializedObjectNamespace() {
return NamespaceDetailsDatabricks.DATABRICKS_NAMESPACE;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import liquibase.change.core.CreateViewChange;
import liquibase.database.Database;
import liquibase.ext.databricks.database.DatabricksDatabase;
import liquibase.ext.databricks.parser.NamespaceDetailsDatabricks;
import liquibase.servicelocator.PrioritizedService;
import liquibase.statement.core.CreateViewStatement;
import lombok.Setter;
Expand All @@ -27,10 +28,14 @@ protected CreateViewStatement createViewStatement(String catalogName, String sch
return cvsd;
}


@DatabaseChangeProperty
public String getTblProperties() {
return tblProperties;
}

@Override
public String getSerializedObjectNamespace() {
return NamespaceDetailsDatabricks.DATABRICKS_NAMESPACE;
}

}

0 comments on commit 7feee50

Please sign in to comment.