Skip to content

[python] Fix data evolution merge read with disordered projection#7544

Merged
JingsongLi merged 2 commits intoapache:masterfrom
XiaoHongbo-Hope:merge_read_fix
Mar 27, 2026
Merged

[python] Fix data evolution merge read with disordered projection#7544
JingsongLi merged 2 commits intoapache:masterfrom
XiaoHongbo-Hope:merge_read_fix

Conversation

@XiaoHongbo-Hope
Copy link
Copy Markdown
Contributor

@XiaoHongbo-Hope XiaoHongbo-Hope commented Mar 27, 2026

Purpose

In the data-evolution merge-read path, when the projection order differs from the table schema order, there is ArrowInvalid: Failed to parse string as a scalar of type int32. upsert_by_key is one path that can trigger this bug.This PR fixes the above bug.

Tests

DataEvolutionTest.test_disorder_cols_append

@XiaoHongbo-Hope XiaoHongbo-Hope marked this pull request as ready for review March 27, 2026 06:03
Copy link
Copy Markdown
Contributor

@JingsongLi JingsongLi left a comment

Choose a reason for hiding this comment

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

+1

@JingsongLi JingsongLi merged commit 0605cc5 into apache:master Mar 27, 2026
5 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