danny0405 commented on code in PR #13060: URL: https://github.com/apache/hudi/pull/13060#discussion_r2026504533
########## hudi-flink-datasource/hudi-flink/src/main/java/org/apache/hudi/source/prune/PrimaryKeyPruners.java: ########## @@ -43,9 +45,7 @@ public class PrimaryKeyPruners { private static final Logger LOG = LoggerFactory.getLogger(PrimaryKeyPruners.class); - public static final int BUCKET_ID_NO_PRUNING = -1; - - public static int getBucketFieldHashing(List<ResolvedExpression> hashKeyFilters, Configuration conf) { + public static Option<Functions.Function1<Integer, Integer>> getBucketId(List<ResolvedExpression> hashKeyFilters, Configuration conf) { Review Comment: getBucketId -> getBucketIdFunc -- 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