Skip to content

Commit

Permalink
[FLINK-36524][pipeline-connector][paimon] 1) bump version to 0.9.0. 2…
Browse files Browse the repository at this point in the history
…) Forcibly add cache-enabled = false in catalog option to avoid using previous table schema.
  • Loading branch information
lvyanquan committed Nov 27, 2024
1 parent eaa05e4 commit c99341e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import javax.annotation.Nullable;

import java.io.IOException;
import java.util.Collection;
import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,10 @@ public void testCreateTableWithOptions(String metastore)
Arrays.asList(
new DataField(0, "col1", DataTypes.STRING().notNull()),
new DataField(1, "col2", DataTypes.STRING()),
new DataField(2, "col3", DataTypes.STRING()),
new DataField(3, "col4", DataTypes.STRING())));
new DataField(2, "col3", DataTypes.STRING().notNull()),
new DataField(3, "col4", DataTypes.STRING().notNull())));
Assertions.assertEquals(tableSchema, table.rowType());
Assertions.assertEquals(Collections.singletonList("col1"), table.primaryKeys());
Assertions.assertEquals(Arrays.asList("col1", "col3", "col4"), table.primaryKeys());
Assertions.assertEquals(Arrays.asList("col3", "col4"), table.partitionKeys());
Assertions.assertEquals("-1", table.options().get("bucket"));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ private void initialize(String metastore)
+ "'hadoop-conf-dir'='%s', "
+ "'hive-conf-dir'='%s', "
+ "'cache-enabled'='false'"
+ "'hive-conf-dir'='%s', "
+ "'cache-enabled'='false' "
+ ")",
warehouse, HADOOP_CONF_DIR, HIVE_CONF_DIR));
} else {
Expand Down

0 comments on commit c99341e

Please sign in to comment.