Skip to content

[core] Add withLevel method in SnapshotReader to optimize RO/compacted table scanning#5412

Merged
JingsongLi merged 1 commit intoapache:masterfrom
tsreaper:level-filter
Apr 8, 2025
Merged

[core] Add withLevel method in SnapshotReader to optimize RO/compacted table scanning#5412
JingsongLi merged 1 commit intoapache:masterfrom
tsreaper:level-filter

Conversation

@tsreaper
Copy link
Copy Markdown
Contributor

@tsreaper tsreaper commented Apr 7, 2025

Purpose

This PR adds withLevel method in SnapshotReader to optimize $ro system table scanning and FULL_COMPACTION scan mode. This method uses the newly added stats about levels in ManifestFileMeta.

Tests

Existing tests should cover this change.

API and Format

No format changes.

Documentation

No new feature.

@JingsongLi JingsongLi closed this Apr 7, 2025
@JingsongLi JingsongLi reopened this Apr 7, 2025
@JingsongLi
Copy link
Copy Markdown
Contributor

+1

@JingsongLi JingsongLi merged commit d9a31da into apache:master Apr 8, 2025
18 checks passed
jerry-024 added a commit to jerry-024/paimon that referenced this pull request Apr 10, 2025
* github/master: (38 commits)
  [core] Add option to always select level 0 files when compacting (apache#5428)
  [hive] Fix `sync-all-properties` related tests (apache#5435)
  [core] File of Postpone bucket could be avro and no stats (apache#5427)
  [rest] add requestId into errorMsg (apache#5426)
  [hotfix] Fix test WithPartialUpdateMergeFunctionTest (apache#5425)
  [common] Set SYNC_ALL_PROPERTIES default to true, be kind to user. (apache#5411)
  [core] Introduce 'metadata.stats-mode.per.level' (apache#5422)
  [core] Throw exception when travel to timestamp before the earliest snapshot (apache#5423)
  [spark] Add bucket function and write benchmark (apache#5418)
  [flink] Flink batch delete supports aggregation.remove-record-on-delete option (apache#5402)
  [core] Fix aggregate delete bug and refactor SortBufferWriteBufferTestBase (apache#5414)
  [core] Validate fast-forward from the current branch (apache#5413)
  [core] Upgrade json-smart and resolve CVE-2024-57699 (apache#5415)
  [core] Add withLevel method in SnapshotReader to optimize RO table scanning (apache#5412)
  [cdc] Fix database sync performance issue of schema evolution (apache#5382)
  [core] Unify the order of procedure loading properties (apache#4657)
  [docs] add more docs about record-level expire (apache#5410)
  [core] Aggregate merge function should not return empty row with non-null column type exist (apache#5407)
  [core] Fix FileMonitorTable with Deletion Vectors Enabled (apache#5406)
  [core] Make the default version of bitmap index to 2 (apache#5405)
  ...
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