This is an automated email from the ASF dual-hosted git repository.
morrysnow pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new aff6d93a15d [fix](Nereids) partial update generate column in wrong way
(#33326)
aff6d93a15d is described below
commit aff6d93a15d0b4dc95f215c33b3c09a25975641c
Author: morrySnow <[email protected]>
AuthorDate: Sun Apr 7 20:50:51 2024 +0800
[fix](Nereids) partial update generate column in wrong way (#33326)
intro by PR #31461
---
.../org/apache/doris/nereids/trees/plans/commands/UpdateCommand.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/UpdateCommand.java
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/UpdateCommand.java
index 4cf6b832e12..5531816a674 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/UpdateCommand.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/nereids/trees/plans/commands/UpdateCommand.java
@@ -167,7 +167,7 @@ public class UpdateCommand extends Command implements
ForwardWithSync, Explainab
List<NamedExpression> partialUpdateSelectItems = new ArrayList<>();
if (isPartialUpdate) {
for (Column column : targetTable.getFullSchema()) {
- Expression expr = new
NereidsParser().parseExpression(tableName + "." + column.getName());
+ Expression expr = new UnboundSlot(tableName, column.getName());
boolean existInExpr = false;
for (String colName :
partialUpdateColNameToExpression.keySet()) {
if (colName.equalsIgnoreCase(column.getName())) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]