Skip to content

Commit

Permalink
[FLINK-28795][hive] Fix unstable test in HiveDialectQueryITCase
Browse files Browse the repository at this point in the history
This closes apache#20569.
  • Loading branch information
luoyuxia authored and HuangXingBo committed Aug 15, 2022
1 parent 9b50ff5 commit 662f9de
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -726,11 +726,11 @@ public void testLoadData() throws Exception {
}

@Test
public void testBoolComparison() {
public void testBoolComparison() throws Exception {
tableEnv.executeSql("CREATE TABLE tbool (id int, a int, b string, c boolean)");
try {
tableEnv.executeSql(
"insert into tbool values (1, 1, '12', true), (2, 1, '0.4', false)");
tableEnv.executeSql("insert into tbool values (1, 1, '12', true), (2, 1, '0.4', false)")
.await();
// test compare boolean with numeric/string type
List<Row> results =
CollectionUtil.iteratorToList(
Expand Down

0 comments on commit 662f9de

Please sign in to comment.