Skip to content

Commit

Permalink
fix itcase
Browse files Browse the repository at this point in the history
  • Loading branch information
JNSimba committed Jul 15, 2024
1 parent 7ec26f4 commit 280b593
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,15 +255,16 @@ public void testTableSourceFilterAndProjectionPushDown() throws Exception {
USERNAME,
PASSWORD);
tEnv.executeSql(sourceDDL);
TableResult tableResult = tEnv.executeSql("SELECT age FROM doris_source");
TableResult tableResult =
tEnv.executeSql("SELECT age FROM doris_source where name = 'doris'");

List<String> actual = new ArrayList<>();
try (CloseableIterator<Row> iterator = tableResult.collect()) {
while (iterator.hasNext()) {
actual.add(iterator.next().toString());
}
}
String[] expected = new String[] {"+I[18]", "+I[10]"};
String[] expected = new String[] {"+I[18]"};
Assert.assertArrayEquals(expected, actual.toArray());
}

Expand Down

0 comments on commit 280b593

Please sign in to comment.