You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/05/19 12:53:39 UTC

[GitHub] [hudi] aliceyyan commented on a diff in pull request #5626: [HUDI-4119] the first read result is incorrect when Flink upsert- Kafka connector is used in HUDi

aliceyyan commented on code in PR #5626:
URL: https://github.com/apache/hudi/pull/5626#discussion_r877018237


##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/format/TestInputFormat.java:
##########
@@ -481,7 +489,7 @@ void testReadMORWithCompactionPlanScheduled() throws Exception {
       List<RowData> dataset = TestData.dataSetInsert(i + 1, i + 2);
       TestData.writeData(dataset, conf);
     }
-
+    createTableSource();

Review Comment:
   If getTableSource method  is called before data is written, metaClient will be  null, and a call to tablesource.reset () in the unit test method  generate null pointer
   



-- 
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: commits-unsubscribe@hudi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org