Skip to content

Commit

Permalink
[opt](paimon)Remove unnecessary fields for 2.1 (#44906) (#45118)
Browse files Browse the repository at this point in the history
  • Loading branch information
wuwenchi authored Dec 6, 2024
1 parent b4e2e2c commit 9bb9a56
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,7 @@ private void setPaimonParams(TFileRangeDesc rangeDesc, PaimonSplit paimonSplit)
fileDesc.setDbId(((PaimonExternalTable) source.getTargetTable()).getDbId());
fileDesc.setTblId(source.getTargetTable().getId());
fileDesc.setLastUpdateTime(source.getTargetTable().getUpdateTime());
fileDesc.setPaimonTable(encodeObjectToString(source.getPaimonTable()));
// The hadoop conf should be same with
// PaimonExternalCatalog.createCatalog()#getConfiguration()
// The hadoop conf should be same with PaimonExternalCatalog.createCatalog()#getConfiguration()
fileDesc.setHadoopConf(source.getCatalog().getCatalogProperty().getHadoopProperties());
Optional<DeletionFile> optDeletionFile = paimonSplit.getDeletionFile();
if (optDeletionFile.isPresent()) {
Expand Down

0 comments on commit 9bb9a56

Please sign in to comment.