[Enhancement] Primary key consistency test supports PK parallel execution #63698
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Why I'm doing:
This PR contains two changes:
rep_->closedcheck in~TableBuilder, because it's unnecessary.What I'm doing:
This pull request updates the Lake primary key consistency tests to use string (VARCHAR) primary keys instead of integers, and introduces randomized configuration changes to improve test coverage for index flushing and parallel execution. The changes also include internal refactoring to support the new key type and enhance the robustness of the tests.
Primary Key Type Migration:
c0) in the test schema and related logic from integer (INT) to string (VARCHAR), including schema definitions, slot setup, and column creation. [1] [2] [3] [4] [5]Replayerclass and related test logic to usestd::stringinstead ofintfor primary key storage and comparisons. [1] [2] [3] [4]Test Robustness and Randomization:
Configuration Management:
pk_parallel_execution_threshold_bytesconfiguration to ensure test isolation and prevent side effects. [1] [2]Other Minor Changes:
CLOUD_NATIVEpersistent index type, removing theLOCALtype from test parameters.Code Quality:
TableBuilderdestructor to avoid potential false positives when closing resources.What type of PR is this:
Does this PR entail a change in behavior?
If yes, please specify the type of change:
Checklist:
Bugfix cherry-pick branch check: