You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2019/10/25 09:58:10 UTC

[GitHub] [incubator-doris] chaoyli edited a comment on issue #2072: Rollup can't be finished because row number does not match.

chaoyli edited a comment 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 and every batch data has 15 rows.
   3. delete all data use deleting command
   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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org