Search code examples
sqlcnosdb

How to rename a field in CnosDB?


I have following data in CnosDB per this doc:

> select * from air where visibility > 70
name: air
time                 pressure station     temperature visibility
----                 -------- -------     ----------- ----------
2021-08-31T16:00:00Z 78       LianYunGang 63          71
2021-08-31T16:06:00Z 58       XiaoMaiDao  77          79

How can I rename the field name similar to MySQL style?


Solution

  • CnosDB currently does not support alter modification of field names.

    Now only supports adding columns, deleting columns, modifying column types and encodings.