lokesh-lingarajan-0310 commented on code in PR #9852:
URL: https://github.com/apache/hudi/pull/9852#discussion_r1366375237


##########
hudi-utilities/src/main/java/org/apache/hudi/utilities/streamer/StreamSync.java:
##########
@@ -553,17 +546,13 @@ private Pair<SchemaProvider, Pair<String, 
JavaRDD<HoodieRecord>>> fetchFromSourc
               rowDataset -> {
                 Tuple2<RDD<GenericRecord>, RDD<String>> safeCreateRDDs = 
HoodieSparkUtils.safeCreateRDD(rowDataset,
                     HOODIE_RECORD_STRUCT_NAME, HOODIE_RECORD_NAMESPACE, 
reconcileSchema,
-                    
Option.of(this.userProvidedSchemaProvider.getTargetSchema()));
+                    Option.of(schemaProvider.getTargetSchema()));

Review Comment:
   try to optimize ahead, there is no benefit. changed it back



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