Open bnuzhouwei opened 3 years ago
Hello, I am Blathers. I am here to help you get the issue triaged.
It looks like you have not filled out the issue in the format of any of our templates. To best assist you, we advise you to use one of these templates.
I have CC'd a few people who may be able to assist you:
If we have not gotten back to your issue within a few business days, you can try the following:
:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan.
It is common to update the structure of the tables, thus it is very helpful for developers to modify the column ordinal position.
Hi! I'd like to help in solving this issue. Could you please give me some guidance on what part of the code to look at with some example use cases?
@bnuzhouwei I am new to cockroachdb project and this issue seems attractive to me , please assign this issue to me.
The process of designing software is gradual. In the DB design process, we can’t do a perfect solution that considerded all the properties for implement the business. Some columns may be added, if new columns can only at the end of columns list. The automancally generated db document will be inaesthetic and unnatural, that will cost must time to reposion them in Words or Excel.
Describe the solution you'd like
MSSQL also provide a GUI tool for reposition the columns by automancally recreate the table. I think for CRDB is a NewSQL product with kv store, it is much easier to reposition columns without recreated table needed. May be just modify some metadata by (just like TiDB another NewSQL db):
Describe alternatives you've considered
Or just updating the metabase:
Jira issue: CRDB-7891