You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/11/18 06:57:43 UTC

[GitHub] [doris] yiguolei commented on a diff in pull request #14361: [fix](insert) fix insert into table which contains column name prefix…

yiguolei commented on code in PR #14361:
URL: https://github.com/apache/doris/pull/14361#discussion_r1026084521


##########
fe/fe-core/src/main/java/org/apache/doris/analysis/InsertStmt.java:
##########
@@ -458,8 +458,20 @@ private void analyzeSubquery(Analyzer analyzer) throws UserException {
             if (column.isNameWithPrefix(CreateMaterializedViewStmt.MATERIALIZED_VIEW_NAME_PREFIX)) {
                 SlotRef refColumn = column.getRefColumn();

Review Comment:
   maybe mv_ is a stop words in doris. So I think we should throw excetion when user create column starts with mv_



-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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