Open lihuafengzi opened 1 month ago
Hi @lihuafengzi, I can take a look and support this feature
Hi @LiShuMing , I notice you participate in this PR as well, I have a topic want to discuss with you ( Or can you help me to invite the right person StarRocks community to talk about this decision?)
Currently StarRocks doesn't support comment
column in DESC statement, but the comment
info can be queried with SHOW CREATE TABLE ...
.
DESCRIBE FORMATTED
to see comments.Based on these reasons, it might be best not to add comments directly to the DESC output in StarRocks to keep DESC
output focus on the essential information like name, type etc.
Instead, our users might consider to use commands like SHOW CREATE TABLE or SHOW COLUMNS for a more comprehensive view of the table, including comments.
when desc table-name, the result can not show the comment of field ,can we make an optimization?
just show create table can we show the comments, but it's difficult to align left.