the-other-tim-brown commented on code in PR #13361:
URL: https://github.com/apache/hudi/pull/13361#discussion_r2110191547


##########
hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/client/clustering/run/strategy/MultipleSparkJobExecutionStrategy.java:
##########
@@ -456,7 +397,8 @@ private Dataset<Row> 
readRecordsForGroupAsRowWithFileGroupReader(JavaSparkContex
     SerializableSchema serializableTableSchemaWithMetaFields = new 
SerializableSchema(tableSchemaWithMetaFields);
 
     // broadcast reader context.
-    ReaderContextFactory<InternalRow> readerContextFactory = 
getEngineContext().getReaderContextFactory(getHoodieTable().getMetaClient());
+    HoodieTableMetaClient metaClient = getHoodieTable().getMetaClient();
+    ReaderContextFactory<InternalRow> readerContextFactory = 
getEngineContext().getReaderContextFactory(metaClient);

Review Comment:
   T is a generic we use when we do not know the specific type but in this case 
since it is a spark specific implementation, we know that it will be 
`InternalRow`



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