Skip to content

[core] Fix performance issue in FileStoreCommitImpl#filterCommitted#7275

Merged
yuzelin merged 1 commit intoapache:masterfrom
tsreaper:fix-performance
Feb 12, 2026
Merged

[core] Fix performance issue in FileStoreCommitImpl#filterCommitted#7275
yuzelin merged 1 commit intoapache:masterfrom
tsreaper:fix-performance

Conversation

@tsreaper
Copy link
Contributor

Purpose

The implementation in #7239 is not correct, because snapshotManager.latestSnapshotOfUser(commitUser), as an argument of orElse, will always be evaluated. This PR fixes the performance issue.

Copy link
Contributor

@yuzelin yuzelin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@yuzelin yuzelin merged commit e1f8281 into apache:master Feb 12, 2026
13 checks passed
jerry-024 added a commit to jerry-024/paimon that referenced this pull request Feb 14, 2026
* upstream/master:
  [test] Remove the S3 dependency from paimon-hive and paimon-spark (apache#7279)
  [python] Introduce Iceberg Table in Rest Catalog (apache#7280)
  [fs] Replace AWS SDK v2 bundle with explicit module dependencies (apache#7285)
  [docs] fix doc: fileformat.md (apache#7278)
  [python] Improve error response parsing in HTTP client (apache#7276)
  [core] Optimize between in Between
  [spark] supports converting some SparkPredicate to Paimon between LeafPredicate (apache#7265)
  [spark] Introduce TrimTransform for trim/ltrim/rtrim functions to pushdown (apache#7273)
  [python] Fix row_id_range method invoking
  [core] Fix performance issue in FileStoreCommitImpl#filterCommitted (apache#7275)
  [python] Fix pyarrow module missing attribute (apache#7258)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants