Skip to content

[VL][UT] Enable two tests previously failing due to Velox Expand operator bug#11947

Merged
jinchengchenghh merged 1 commit intoapache:mainfrom
philo-he:enable-two-tests
Apr 16, 2026
Merged

[VL][UT] Enable two tests previously failing due to Velox Expand operator bug#11947
jinchengchenghh merged 1 commit intoapache:mainfrom
philo-he:enable-two-tests

Conversation

@philo-he
Copy link
Copy Markdown
Member

@philo-he philo-he commented Apr 15, 2026

What changes are proposed in this pull request?

Enable these two tests in GlutenDeltaBasedUpdateAsDeleteAndInsertTableSuite. It covers Spark's delta-based row update, which uses a row operation flag to mark deletes and inserts. An Expand operator duplicates each row into two — one for delete and one for insert. When updating a table with the WriteDelta operator, delete records are filtered out based on the row operation flag.

For the delete flag marked row, NULL literal will be used to replace the deprecated data, passing to Expand operators. Previously, the operator incorrectly handles literals of complex types, finally producing NULLs instead of the expected values. This bug was fixed by Velox PR some months ago: facebookincubator/velox#15684.

How was this patch tested?

Local test passed.

Was this patch authored or co-authored using generative AI tooling?

No.

@github-actions github-actions bot added the CORE works for Gluten Core label Apr 15, 2026
@github-actions
Copy link
Copy Markdown

Run Gluten Clickhouse CI on x86

@philo-he
Copy link
Copy Markdown
Member Author

@jinchengchenghh, could you take a look?

@philo-he philo-he changed the title [VL] Enable two tests previously failing due to Velox Expand operator bug [VL][UT] Enable two tests previously failing due to Velox Expand operator bug Apr 16, 2026
Copy link
Copy Markdown
Contributor

@JkSelf JkSelf left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Copy Markdown
Contributor

@jinchengchenghh jinchengchenghh left a comment

Choose a reason for hiding this comment

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

Thanks for figuring out!

@jinchengchenghh jinchengchenghh merged commit f9c090a into apache:main Apr 16, 2026
64 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CORE works for Gluten Core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants