dataroaring commented on code in PR #49452:
URL: https://github.com/apache/doris/pull/49452#discussion_r2013469073
##########
regression-test/suites/schema_change_p0/test_type_length_change.groovy:
##########
@@ -74,4 +74,9 @@ suite("test_type_length_change", "p0") {
sql """ INSERT INTO ${tableName} VALUES(4, "abcde", "abcde") """
qt_master_sql """ SELECT * FROM ${tableName} ORDER BY k"""
qt_master_sql """ DESC ${tableName} """
+
+ test {
+ sql """ ALTER TABLE ${tableName} MODIFY COLUMN c1 CHAR(10) """
+ exception "Can not change VARCHAR to CHAR"
+ }
}
Review Comment:
What about char(10) to char(20)?
--
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]