codope commented on code in PR #12001: URL: https://github.com/apache/hudi/pull/12001#discussion_r1777524200
########## hudi-client/hudi-spark-client/src/main/java/org/apache/hudi/client/utils/SparkMetadataWriterUtils.java: ########## @@ -70,118 +68,88 @@ public class SparkMetadataWriterUtils { private static final String READ_PATHS_CONFIG = "hoodie.datasource.read.paths"; private static final String GLOB_PATHS_CONFIG = "glob.paths"; - public static HoodieJavaRDD<HoodieRecord> getFunctionalIndexRecordsUsingColumnStats( - HoodieTableMetaClient metaClient, - int parallelism, - Schema readerSchema, - FileSlice fileSlice, - String basePath, - String partition, - HoodieFunctionalIndex<Column, Column> functionalIndex, - String columnToIndex, - SQLContext sqlContext, - HoodieSparkEngineContext sparkEngineContext) { + public static List<HoodieRecord> getFunctionalIndexRecordsUsingColumnStats(HoodieTableMetaClient metaClient, Review Comment: We gain 3 lines.. i kinda feel that those 3 lines read better inline with the method. -- 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: commits-unsubscr...@hudi.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org