Skip to content

fix: lazy create merge function in merge file split read#58

Merged
zjw1111 merged 1 commit intoalibaba:mainfrom
zjw1111:fix_pk+dv
Jan 17, 2026
Merged

fix: lazy create merge function in merge file split read#58
zjw1111 merged 1 commit intoalibaba:mainfrom
zjw1111:fix_pk+dv

Conversation

@zjw1111
Copy link
Copy Markdown
Collaborator

@zjw1111 zjw1111 commented Jan 16, 2026

Purpose

Avoid false "unsupported aggregation method" error reports in scenarios such as PK+DV where reading does not actually require MOR (merge-on-read).

Original version: When reading the PK table, if an unsupported aggregation method is encountered, an error is directly reported during the creation of the reader, regardless of whether the MOR is actually needed during the data reading process.

Updated to: The validation of the aggregation method support will only occur when the DataSplit data requires MOR, avoiding false error reports in scenarios such as PK+DV where reading does not actually require MOR.

Tests

TEST_P(ScanAndReadInteTest, TestWithPKWithDvWithInvalidAggregateBatchScanSnapshot3)
TEST_P(ScanAndReadInteTest, TestWithPKWithMorWithInvalidAggregateBatchScanSnapshot3)

API and Format

Documentation

@zjw1111 zjw1111 requested a review from lxy-9602 January 16, 2026 10:12
Copy link
Copy Markdown
Collaborator

@lxy-9602 lxy-9602 left a comment

Choose a reason for hiding this comment

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

+1

@zjw1111 zjw1111 merged commit a55b218 into alibaba:main Jan 17, 2026
8 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