Skip to content

feat(paimon-core): Add test cases for TableScan partition, bucket, level filters and list APIs - #9781

Open
fightBoxing wants to merge 2 commits into
apache:masterfrom
fightBoxing:lr-core
Open

feat(paimon-core): Add test cases for TableScan partition, bucket, level filters and list APIs#9781
fightBoxing wants to merge 2 commits into
apache:masterfrom
fightBoxing:lr-core

Conversation

@fightBoxing

Copy link
Copy Markdown

Re-created from closed PR #7214.

Summary

Add comprehensive test cases for TableScan in paimon-core to improve coverage for InnerTableScan interface methods.

Changes

  • Add testPartitionFilter: Test partition filter with Map and BinaryRow
  • Add testBucketFilter: Test withBucket and withBucketFilter methods
  • Add testLevelFilter: Test level filter for primary key table
  • Add testListPartitionEntries: Test listPartitionEntries and listPartitions APIs
  • Add testPrimaryKeyTableScan: Test scan with update and delete operations
  • Add testEmptyTableScan: Test scan behavior on empty table
  • Add testScanWithMultipleFilters: Test combination of partition and column filters
  • Add testLimitWithPartitionFilter: Test limit pushdown with partition filter
  • Add testScanAfterCompaction: Test scan result after compaction
  • Add testTopNWithPartitionFilter: Test TopN with partition filter combination

API Coverage

  • withPartitionFilter, withBucket, withBucketFilter, withLevelFilter
  • listPartitionEntries, listPartitions

Closes #7214

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.

1 participant