jonvex commented on code in PR #10337:
URL: https://github.com/apache/hudi/pull/10337#discussion_r1767043159
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/index/HoodieIndexUtils.java:
##########
@@ -344,24 +348,25 @@ private static <R> Option<HoodieRecord<R>>
mergeIncomingWithExistingRecord(
*/
public static <R> HoodieData<HoodieRecord<R>>
mergeForPartitionUpdatesIfNeeded(
HoodieData<Pair<HoodieRecord<R>, Option<HoodieRecordGlobalLocation>>>
incomingRecordsAndLocations, HoodieWriteConfig config, HoodieTable hoodieTable)
{
- Option<Pair<BaseKeyGenerator, HoodieWriteConfig>>
keyGeneratorWriteConfigOpt = maybeGetKeygenAndUpdatedWriteConfig(config,
hoodieTable.getMetaClient().getTableConfig());
+ Pair<HoodieWriteConfig, Option<BaseKeyGenerator>>
keyGeneratorWriteConfigOpt = getKeygenAndUpdatedWriteConfig(config,
hoodieTable.getMetaClient().getTableConfig());
+ HoodieWriteConfig updatedConfig = keyGeneratorWriteConfigOpt.getLeft();
Review Comment:
We can't. If you do that it says that you can't do that because it is used
inside of the lambda
--
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]