Skip to content

bug: alter column comment maybe cause column type change. #18154

@TCeason

Description

@TCeason

Summary

root@localhost:8000/default/default> CREATE TABLE students_info (
  id INT,
  name VARCHAR(50),
  age INT
);


root@localhost:8000/default/default> ALTER TABLE students_info MODIFY COLUMN age datetime COMMENT 'abc';


root@localhost:8000/default/default> show create table students_info;


*************************** 1. row ***************************
       Table: students_info
Create Table: CREATE TABLE students_info (
  id INT NULL,
  name VARCHAR NULL,
  age TIMESTAMP NULL COMMENT 'abc'
) ENGINE=FUSE

Metadata

Metadata

Assignees

Labels

C-bugCategory: something isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions