Skip to content

Commit

Permalink
[hotfix][hbase] Add missed ITCase in hbase2 connector
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardBang authored Nov 10, 2020
1 parent a9a0032 commit d6f53f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ public void testTableSourceSinkWithDDL() throws Exception {
StreamExecutionEnvironment execEnv = StreamExecutionEnvironment.getExecutionEnvironment();
StreamTableEnvironment tEnv = StreamTableEnvironment.create(execEnv, streamSettings);

// regiter HBase table testTable1 which contains test data
// register HBase table testTable1 which contains test data
String table1DDL = createHBaseTableDDL(TEST_TABLE_1, true);
tEnv.executeSql(table1DDL);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ public void testTableSourceFieldOrder() {
TestBaseUtils.compareResultAsText(results, expected);
}

@Test
public void testTableSourceWithTableAPI() throws Exception {
StreamExecutionEnvironment execEnv = StreamExecutionEnvironment.getExecutionEnvironment();
StreamTableEnvironment tEnv = StreamTableEnvironment.create(execEnv, streamSettings);
Expand Down Expand Up @@ -397,7 +398,7 @@ public void testTableSourceSinkWithDDL() throws Exception {
StreamExecutionEnvironment execEnv = StreamExecutionEnvironment.getExecutionEnvironment();
StreamTableEnvironment tEnv = StreamTableEnvironment.create(execEnv, streamSettings);

// regiter HBase table testTable1 which contains test data
// register HBase table testTable1 which contains test data
String table1DDL = createHBaseTableDDL(TEST_TABLE_1, true);
tEnv.executeSql(table1DDL);

Expand Down

0 comments on commit d6f53f1

Please sign in to comment.