This is an automated email from the ASF dual-hosted git repository.

yiguolei pushed a commit to branch 2.1-tmp
in repository https://gitbox.apache.org/repos/asf/doris.git

commit d1099852b560884c250c4251ac6dab7075bc8ef7
Author: morrySnow <101034200+morrys...@users.noreply.github.com>
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 76143c0e80f..a62f021b9e3 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
@@ -166,7 +166,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: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to