Dragonliu2018 commented on issue #36153:
URL: https://github.com/apache/doris/issues/36153#issuecomment-2162033099

   looks like it's been fixed.
   ```sql
   CREATE TABLE IF NOT EXISTS t1 (
       id LARGEINT NOT NULL COMMENT "id of site",
       pv BIGINT SUM DEFAULT "0" COMMENT "total page views"
   )
   AGGREGATE KEY(id)
   DISTRIBUTED BY HASH(id) BUCKETS 3
   PROPERTIES ("replication_num" = "1");
   
   insert into t1 values(1, 1);
   insert into t1 values(1, 1);
   insert into t1 values(2, 1);
   
   select * from t1;
   +------+------+
   | id   | pv   |
   +------+------+
   | 1    |    2 |
   | 2    |    1 |
   +------+------+
   2 rows in set (0.02 sec)
   
   delete from t1 where pv = 1;
   ERROR 1105 (HY000): errCode = 2, detailMessage = delete predicate on value 
column only supports Unique table with merge-on-write enabled and Duplicate 
table, but Table[t1] is an Aggregate table.
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to