morningman commented on code in PR #55466:
URL: https://github.com/apache/doris/pull/55466#discussion_r2314385125


##########
fe/be-java-extensions/hadoop-hudi-scanner/src/main/java/org/apache/doris/hudi/HadoopHudiJniScanner.java:
##########
@@ -111,8 +111,11 @@ public HadoopHudiJniScanner(int fetchSize, Map<String, 
String> params) {
 
         this.hudiColumnNames = params.get("hudi_column_names");
         this.hudiColumnTypes = params.get("hudi_column_types").split("#");
-        this.requiredFields = params.get("required_fields").split(",");
-
+        if (!params.get("required_fields").equals("")) {

Review Comment:
   Add some comment to explain in what situation the `required_fields` may be 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to