[opt](paimon)Remove unnecessary fields for 2.1 (#44906) (#45118)

bp:#44906
This commit is contained in:
wuwenchi
2024-12-07 06:45:53 +08:00
committed by GitHub
parent b4e2e2cf78
commit 9bb9a56a48

View File

@ -183,9 +183,7 @@ public class PaimonScanNode extends FileQueryScanNode {
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()) {