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

eldenmoon 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 a49cce1c2f4 [Chore](code comment) add comment for #32999 (#33548)
a49cce1c2f4 is described below

commit a49cce1c2f4ef76fb646ae3ad6e6ae0a04b8121e
Author: lihangyu <15605149...@163.com>
AuthorDate: Fri Apr 12 00:19:40 2024 +0800

    [Chore](code comment) add comment for #32999 (#33548)
---
 .../org/apache/doris/nereids/glue/translator/PlanTranslatorContext.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PlanTranslatorContext.java
 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PlanTranslatorContext.java
index eb0598d4894..31e54a92ab9 100644
--- 
a/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PlanTranslatorContext.java
+++ 
b/fe/fe-core/src/main/java/org/apache/doris/nereids/glue/translator/PlanTranslatorContext.java
@@ -289,6 +289,8 @@ public class PlanTranslatorContext {
             slotRef = new SlotRef(slotDescriptor);
             if (slotReference.hasSubColPath()) {
                 slotDescriptor.setSubColLables(slotReference.getSubColPath());
+                // use lower case name for variant's root, since backend treat 
parent column as lower case
+                // see issue: 
https://github.com/apache/doris/pull/32999/commits
                 
slotDescriptor.setMaterializedColumnName(slotRef.getColumnName().toLowerCase()
                             + "." + String.join(".", 
slotReference.getSubColPath()));
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to