the-other-tim-brown commented on code in PR #11373:
URL: https://github.com/apache/hudi/pull/11373#discussion_r1685474915


##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/sources/helpers/ProtoConversionUtil.java:
##########
@@ -348,17 +348,17 @@ private Object getDefault(Descriptors.FieldDescriptor f) {
         case SFIXED64:
           return 0;
         case UINT64:
-          return "\u0000"; // requires bytes for decimal type
+          return DECIMAL_CONVERSION.toFixed(new BigDecimal(BigInteger.ZERO), 
fieldSchema, fieldSchema.getLogicalType()).bytes();

Review Comment:
   This was broken previously so if you hit this case you'd have a failure



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