Skip to content

Commit

Permalink
reverted chnages for local createTable testing
Browse files Browse the repository at this point in the history
  • Loading branch information
KushnirykOleh committed Jan 28, 2025
1 parent da0d077 commit ffd9912
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<column name="test_id" type="int">
<constraints primaryKey="true" nullable="false"/>
</column>
<databricks:extendedTableProperties tblProperties="'this.is.my.key'=12,'this.is.my.key2'=true, 'delta.feature.allowColumnDefaults' = 'disabled'"/>
<databricks:extendedTableProperties tblProperties="'this.is.my.key'=12,'this.is.my.key2'=true"/>
<!-- disabling until we figure out issue with allowColumnDefaults tableLocation="s3://databricks-th/test_table_properties"/> -->
<!-- add "Location" : "s3://databricks-th/test_table_properties", to expected json when we figure it out-->
</createTable>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
{
"table": {
"name": "test_table_properties",
"Location" : "s3://databricks-th/test_table_properties",
"tblProperties": "'delta.checkpoint.writeStatsAsJson'='false', 'delta.checkpoint.writeStatsAsStruct'='true', 'delta.columnMapping.maxColumnId'='1', 'delta.columnMapping.mode'='name', 'delta.enableDeletionVectors'='true', 'delta.feature.allowColumnDefaults'='supported', 'delta.feature.columnMapping'='supported', 'delta.feature.deletionVectors'='supported', 'delta.feature.invariants'='supported', 'delta.minReaderVersion'='3', 'delta.minWriterVersion'='7', 'this.is.my.key'='12', 'this.is.my.key2'='true'"
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
CREATE TABLE main.oleh.test_table (test_id INT NOT NULL, test_column VARCHAR(50) NOT NULL, CONSTRAINT PK_TEST_TABLE PRIMARY KEY (test_id)) USING delta TBLPROPERTIES('delta.feature.allowColumnDefaults' = 'supported', 'delta.columnMapping.mode' = 'name', 'delta.enableDeletionVectors' = true)
CREATE TABLE main.oleh.test_table_properties (test_id INT NOT NULL, CONSTRAINT PK_TEST_TABLE_PROPERTIES PRIMARY KEY (test_id)) USING delta TBLPROPERTIES('delta.feature.allowColumnDefaults' = 'supported', 'delta.columnMapping.mode' = 'name', 'delta.enableDeletionVectors' = true, 'this.is.my.key' = 12, 'this.is.my.key2' = true)
CREATE TABLE main.liquibase_harness_test_ds.test_table (test_id INT NOT NULL, test_column VARCHAR(50) NOT NULL, CONSTRAINT PK_TEST_TABLE PRIMARY KEY (test_id)) USING delta TBLPROPERTIES('delta.feature.allowColumnDefaults' = 'supported', 'delta.columnMapping.mode' = 'name', 'delta.enableDeletionVectors' = true)
CREATE TABLE main.liquibase_harness_test_ds.test_table_properties (test_id INT NOT NULL, CONSTRAINT PK_TEST_TABLE_PROPERTIES PRIMARY KEY (test_id)) USING delta TBLPROPERTIES('delta.feature.allowColumnDefaults' = 'supported', 'delta.columnMapping.mode' = 'name', 'delta.enableDeletionVectors' = true, 'this.is.my.key' = 12, 'this.is.my.key2' = true)

0 comments on commit ffd9912

Please sign in to comment.