简体   繁体   中英

CrateDB drop column not working and throwing an error

Hello stackoverflow so I have a cratedb database instance with about 3 million records in my table. I am trying to run the following command.

ALTER TABLE "transactions_v2" DROP COLUMN "itemPrices";

However I end up with this error

Error!

SQLParseException[line 1:62: mismatched input 'COLUMN' expecting {'.', 'PARTITION', 'DROP'}]

Any ideas why I can't seem to drop the column?

So cratedb does not support DROP COLUMN which is why I was getting the error.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM