SteNicholas commented on code in PR #7194:
URL: https://github.com/apache/hudi/pull/7194#discussion_r1021110485


##########
hudi-flink-datasource/hudi-flink/src/test/java/org/apache/hudi/table/ITTestHoodieDataSource.java:
##########
@@ -1303,8 +1303,8 @@ void testParquetComplexTypes(String operation) {
         () -> tableEnv.sqlQuery("select * from t1").execute().collect());
     final String expected = "["
         + "+I[1, [abc1, def1], {abc1=1, def1=3}, +I[1, abc1]], "
-        + "+I[2, [abc2, def2], {def2=3, abc2=1}, +I[2, abc2]], "
-        + "+I[3, [abc3, def3], {def3=3, abc3=1}, +I[3, abc3]]]";
+        + "+I[2, [abc2, def2], {def2=3, abc2=1}, +I[2, null]], "
+        + "+I[3, [abc3, def3], {def3=3, abc3=1}, null]]";

Review Comment:
   @danny0405, the output `+I[2, null]` is used to verify whether the return 
value is non-null value for part of child columns are null, meanwhile the 
output `null` is used to verify whether the return value is null value of all 
child columns are null.



-- 
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]

Reply via email to