philo-he opened a new pull request, #11947:
URL: https://github.com/apache/gluten/pull/11947
<!--
Thank you for submitting a pull request! Here are some tips:
1. For first-time contributors, please read our contributing guide:
https://github.com/apache/gluten/blob/main/CONTRIBUTING.md
2. If necessary, create a GitHub issue for discussion beforehand to avoid
duplicate work.
3. If the PR is specific to a single backend, include [VL] or [CH] in the PR
title to indicate the
Velox or ClickHouse backend, respectively.
4. If the PR is not ready for review, please mark it as a draft.
-->
## 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. However, the operator incorrectly
handles NULL literals of complex types, producing NULLs instead of the expected
values.
There is already a merged fix in upstream Velox:
https://github.com/facebookincubator/velox/pull/15684.
<!--
Provide a clear and concise description of the changes introduced in this PR.
Ensure the PR description aligns with the code changes, especially after
updates.
If applicable, include "Fixes #<GitHub_Issue_ID>" to automatically close the
corresponding issue
when the PR is merged.
-->
## How was this patch tested?
Local test passed.
<!--
Describe how the changes were tested, if applicable.
Include new tests to validate the functionality, if necessary.
For UI-related changes, attach screenshots to demonstrate the updates.
-->
## Was this patch authored or co-authored using generative AI tooling?
No.
<!--
If generative AI tooling has been used in the process of authoring this
patch, please include the
phrase: 'Generated-by: ' followed by the name of the tool and its version.
If no, write 'No'.
Please refer to the [ASF Generative Tooling
Guidance](https://www.apache.org/legal/generative-tooling.html) for details.
-->
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]