morrySnow commented on code in PR #54978:
URL: https://github.com/apache/doris/pull/54978#discussion_r2283993955
##########
fe/fe-core/src/main/java/org/apache/doris/nereids/trees/expressions/functions/scalar/CreateNamedStruct.java:
##########
@@ -66,14 +69,18 @@ public void checkLegalityBeforeTypeCoercion() {
throw new AnalysisException("named_struct only allows"
+ " constant string parameter in odd position: " +
this);
} else {
- String name = ((StringLikeLiteral) child(i)).getStringValue();
+ String name = ((StringLikeLiteral)
child(i)).getStringValue().toLowerCase();
Review Comment:
current, struct is case sensitive, so here do case insensitive name conflict
check is weird
--
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]