-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
Description
What happens?
I am creating a table SQL using the public.user_activity table stored in columnstore as follows:
CREATE TABLE user_activity(
user_id BIGINT,
activity_type TEXT,
activity_timestamp TIMESTAMP,
duration INT
) USING columnstore;The above is just a demo. When I inserted 20 million production environment data, I need to add a "from source" column field to distinguish whether it is from H5 or PC or mobile app,.
ALTER TABLE "public"."user_activity"
ADD COLUMN "from_source" varchar(120);But the engine reported an error:
ERROR: ALTER TABLE on columnstore table is not supported
To Reproduce
I'm wondering if adding fields like this is not allowed in existing column storage fields? Alternatively, other SQL should be used to modify the table structure so that new fields can be added to meet the requirements?
OS:
CentOS 9.2
pg_mooncake Version:
0.1.2
Postgres Version:
17.0
Are you using pg_mooncake Docker, Neon, or the extension standalone?
pg_mooncake Docker Image
Reactions are currently unavailable