gortiz commented on code in PR #16258:
URL: https://github.com/apache/pinot/pull/16258#discussion_r2200806032
##########
pinot-core/src/main/java/org/apache/pinot/core/util/SegmentProcessorAvroUtils.java:
##########
@@ -65,6 +66,10 @@ public static GenericData.Record
convertGenericRowToAvroRecord(GenericRow generi
if (value instanceof byte[]) {
value = ByteBuffer.wrap((byte[]) value);
}
+ if (value instanceof BigDecimal) {
+ // Convert BigDecimal to String for Avro compatibility
Review Comment:
Please ignore this class. Here I'm hotfixing big decimals so I can ingest
them during tests, but the proper fix is in
https://github.com/apache/pinot/pull/16210, which should be merged first
--
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]