CrateDB drop column not working and throwing an error

155 Views Asked by At

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?

1

There are 1 best solutions below

0
The Coder On

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