Skip to content

Commit

Permalink
[hotfix-1906][hbase]#1906 resolve hbase unit test failed
Browse files Browse the repository at this point in the history
  • Loading branch information
dujie authored and yanghuaiGit committed Jul 26, 2024
1 parent 1028750 commit ec13b28
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ public void setUp() {
tableSchema = new HBaseTableSchema();
tableSchema.setRowKey("stu:id", Integer.class);
tableSchema.addColumn("stu", "name", String.class);
serde = new HBaseSerde(tableSchema, new HBaseConfig());
HBaseConfig hBaseConfig = new HBaseConfig();
hBaseConfig.setNullStringLiteral("null");
serde = new HBaseSerde(tableSchema, hBaseConfig);
}

@Test
Expand Down

0 comments on commit ec13b28

Please sign in to comment.