SWJTU-ZhangLei opened a new issue, #18732:
URL: https://github.com/apache/doris/issues/18732

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Version
   
   master d2efc619b0aa4c18c290044bc53a5ef83d37f6b1
   
   ### What's Wrong?
   
   Exception in schema_change_p0/test_rename_column.groovy(line 67):
   
       sql """ALTER TABLE ${tableName} SET ("light_schema_change" = "true");"""
   
       qt_select """ SELECT * FROM ${tableName} order by user_id ASC, 
last_visit_date """
   
       // rename key column
       sql """ ALTER table ${tableName} RENAME COLUMN  user_id new_user_id """
   
       sql """ sync """
   
       qt_select """ SELECT * FROM ${tableName} order by new_user_id DESC, 
last_visit_date """
   ^^^^^^^^^^^^^^^^^^^^^^^^^^ERROR LINE^^^^^^^^^^^^^^^^^^^^^^^^^^
   
       qt_desc """ desc ${tableName} """
   
       sql """
           INSERT INTO ${tableName} VALUES
                   (3, '2017-10-01', 'Beijing', 10, 1, '2020-01-01', 
'2020-01-01', '2020-01-01', 1, 32, 22)
           """
       qt_select """ SELECT * FROM ${tableName} order by new_user_id DESC, 
last_visit_date """
   
       // rename value column
   
   Exception:
   java.sql.SQLSyntaxErrorException: errCode = 2, detailMessage = Unknown 
column 'new_user_id' in 'table list'
   
   ### What You Expected?
   
   test_rename_column.groovy regression case can work well
   
   ### How to Reproduce?
   
   1、Build a 3 fe and 3 be cluster 
   2、use follower's ip regression-conf.groovy jdbcUrl(take care not master's 
ip) 
   3、run regression-test p0 case `test_rename_column.groovy`
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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-unsubscr...@doris.apache.org.apache.org

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


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

Reply via email to