KiteSoar commented on code in PR #17772:
URL: https://github.com/apache/hudi/pull/17772#discussion_r2661532874


##########
hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/execution/TestDisruptorMessageQueue.java:
##########
@@ -305,7 +306,7 @@ public Integer finish() {
         };
 
     DisruptorExecutor<HoodieRecord, Tuple2<HoodieRecord, 
Option<IndexedRecord>>, Integer> exec = new DisruptorExecutor(1024,
-        producers, consumer, 
getTransformerInternal(HoodieTestDataGenerator.AVRO_SCHEMA, writeConfig),
+        producers, consumer, 
getTransformerInternal(HoodieSchema.fromAvroSchema(HoodieTestDataGenerator.AVRO_SCHEMA),
 writeConfig),

Review Comment:
   done



##########
hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/execution/TestDisruptorMessageQueue.java:
##########
@@ -157,7 +158,7 @@ public void testCompositeProducerRecordReading() throws 
Exception {
     final List<List<HoodieRecord>> recs = new ArrayList<>();
 
     final DisruptorMessageQueue<HoodieRecord, HoodieInsertValueGenResult> 
queue =
-        new DisruptorMessageQueue(1024, 
getTransformerInternal(HoodieTestDataGenerator.AVRO_SCHEMA, writeConfig),
+        new DisruptorMessageQueue(1024, 
getTransformerInternal(HoodieSchema.fromAvroSchema(HoodieTestDataGenerator.AVRO_SCHEMA),
 writeConfig),

Review Comment:
   done



##########
hudi-client/hudi-spark-client/src/test/java/org/apache/hudi/execution/TestDisruptorMessageQueue.java:
##########
@@ -128,7 +129,7 @@ public Integer finish() {
 
     try {
       exec = new 
DisruptorExecutor(writeConfig.getWriteExecutorDisruptorWriteBufferLimitBytes(), 
hoodieRecords.iterator(), consumer,
-          getTransformerInternal(HoodieTestDataGenerator.AVRO_SCHEMA, 
writeConfig), WaitStrategyFactory.DEFAULT_STRATEGY, getPreExecuteRunnable());
+          
getTransformerInternal(HoodieSchema.fromAvroSchema(HoodieTestDataGenerator.AVRO_SCHEMA),
 writeConfig), WaitStrategyFactory.DEFAULT_STRATEGY, getPreExecuteRunnable());

Review Comment:
   done



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