imbajin commented on code in PR #648:
URL: 
https://github.com/apache/incubator-hugegraph-toolchain/pull/648#discussion_r1905125624


##########
hugegraph-loader/src/main/java/org/apache/hugegraph/loader/util/DataTypeUtil.java:
##########
@@ -124,8 +122,7 @@ public static UUID parseUUID(String key, Object rawValue) {
                                                          rawValue.getClass()));
     }
 
-    private static Object parseSingleValue(String key, Object rawValue,

Review Comment:
   maybe we could enhance the logic like this: (avoid using a string of 
`if-else`)
   <img width="933" alt="image" 
src="https://github.com/user-attachments/assets/4b3403a1-2f9f-4c8c-aabe-bde0b8375352";
 />
   
   
   (Or use strategy mode/interface in future)



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