JingGe commented on a change in pull request #17888:
URL: https://github.com/apache/flink/pull/17888#discussion_r758243527
##########
File path:
flink-connectors/flink-connector-hbase-2.2/src/test/java/org/apache/flink/connector/hbase2/HBaseConnectorITCase.java
##########
@@ -270,7 +282,13 @@ public void testTableSink() throws Exception {
+ "FROM "
+ TEST_TABLE_2
+ " AS h");
- List<Row> results =
CollectionUtil.iteratorToList(table.execute().collect());
+
+ TableResult tableResult2 = table.execute();
+ // wait to finish
+ tableResult2.await();
+
+ List<Row> results =
CollectionUtil.iteratorToList(tableResult2.collect());
Review comment:
It would look weird, if the select query has been running in batch mode
and only partial result will be returned after `await()` is finished. I will do
more research and come back with further information.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]