the-other-tim-brown commented on code in PR #13726:
URL: https://github.com/apache/hudi/pull/13726#discussion_r2283731942
##########
hudi-common/src/main/java/org/apache/hudi/avro/AvroRecordContext.java:
##########
@@ -181,4 +175,12 @@ public IndexedRecord toBinaryRow(Schema avroSchema,
IndexedRecord record) {
public UnaryOperator<IndexedRecord> projectRecord(Schema from, Schema to,
Map<String, String> renamedColumns) {
return record -> HoodieAvroUtils.rewriteRecordWithNewSchema(record, to,
renamedColumns);
}
+
+ @Override
+ public Comparable convertValueToEngineType(Comparable value) {
+ if (value instanceof Utf8) {
+ return ((Utf8) value).toString();
+ }
Review Comment:
Adding one now
--
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]