the-other-tim-brown commented on code in PR #6806:
URL: https://github.com/apache/hudi/pull/6806#discussion_r981730983
##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/sources/helpers/ProtoConversionUtil.java:
##########
@@ -85,6 +93,8 @@ public static GenericRecord convertToAvro(Schema schema,
Message message) {
private static class AvroSupport {
private static final Schema STRING_SCHEMA =
Schema.create(Schema.Type.STRING);
private static final Schema NULL_SCHEMA = Schema.create(Schema.Type.NULL);
+ private static final Schema UNSIGNED_LONG_SCHEMA =
LogicalTypes.decimal(21).addToSchema(Schema.createFixed("unsigned_long", null,
"org.apache.hudi.protos", 9));
Review Comment:
Adding a description but this can be 20 since we're using scale 0 here.
There are only 20 digits in the max unsigned long
--
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]