chaoyli commented on issue #2072: Rollup can't be finished because row number 
does not match.
URL: 
https://github.com/apache/incubator-doris/issues/2072#issuecomment-546288285
 
 
   You can reproduce the bug use the following procedure.
   
   1. create table.
   ```
   CREATE TABLE `test` (
     `k1` tinyint(4) NOT NULL COMMENT "",
     `k2` smallint(6) NOT NULL COMMENT "",
     `k3` int(11) NOT NULL COMMENT "",
     `k4` bigint(20) NOT NULL COMMENT "",
     `k5` decimal(9, 3) NOT NULL COMMENT "",
     `k6` char(5) NOT NULL COMMENT "",
     `k10` date NOT NULL COMMENT "",
     `k11` datetime NOT NULL COMMENT "",
     `k7` varchar(20) NOT NULL COMMENT "",
     `k8` double MAX NOT NULL COMMENT "",
     `k9` float SUM NOT NULL COMMENT ""
   ) ENGINE=OLAP
   AGGREGATE KEY(`k1`, `k2`, `k3`, `k4`, `k5`, `k6`, `k10`, `k11`, `k7`)
   DISTRIBUTED BY HASH(`k1`) BUCKETS 1
   PROPERTIES (
   "replication_num" = "1",
   "storage_type" = "COLUMN"
   );
   ```
   2.  load two batch data 
   3. delete all data use deleting data
   4. add a rollup 
   ```
   alter table test add rollup rollup_1 (k1,k9);
   ```
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to