Skip to content

test: add ut for release-0.3 - #451

Merged
lxy-9602 merged 9 commits into
alibaba:mainfrom
lszskye:add_ut_for_0.3
Jul 28, 2026
Merged

test: add ut for release-0.3#451
lxy-9602 merged 9 commits into
alibaba:mainfrom
lszskye:add_ut_for_0.3

Conversation

@lszskye

@lszskye lszskye commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Purpose

This change improves reader correctness and expands coverage for several previously untested paths.

  • Make asynchronous union global-index tasks own their actions and predicate arguments, avoiding dangling references when an earlier task throws while other tasks remain queued.
  • Align streaming $binlog behavior by packing adjacent UPDATE_BEFORE and UPDATE_AFTER records into one list-valued update event.
  • Avoid adding _VALUE_KIND twice when constructing no-merge read schemas.
  • Fix $files statistics projection for partitioned partial writes by mapping statistics only to columns physically written to the data file.
  • Add coverage for bucket selection, Hive smallint hashing, list aggregation, compaction rewrites, eager deletion-file generation, index partition filtering, and manifest cleanup after failures.

Tests

  • deferred asynchronous union-index tasks after an earlier task throws
  • streaming binlog update packing within and across batches
  • unmatched UPDATE_BEFORE handling
  • binlog sequence-number schema
  • partitioned partial-write statistics in $files
  • default, Hive, and MOD bucket selection
  • Hive smallint bucket compatibility
  • listagg distinct mode with an empty delimiter
  • full-compaction file rewrites
  • eager deletion-vector generation
  • partition-filtered index manifest reads
  • cleanup of newly generated manifest files after merge failure

@lszskye
lszskye requested a review from lxy-9602 July 27, 2026 03:57
Comment thread src/paimon/core/table/system/audit_log_system_table.cpp
Comment thread src/paimon/core/table/system/audit_log_system_table.cpp
Comment thread src/paimon/core/table/system/metadata_system_tables.cpp Outdated
Comment thread src/paimon/core/table/system/system_table_test.cpp Outdated
Comment thread src/paimon/core/table/system/system_table_test.cpp Outdated

@lxy-9602 lxy-9602 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

+1

@lxy-9602
lxy-9602 merged commit 0008f7a into alibaba:main Jul 28, 2026
10 checks passed
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