You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@doris.apache.org by GitBox <gi...@apache.org> on 2019/08/27 03:07:37 UTC

[GitHub] [incubator-doris] morningman opened a new issue #1706: BE cash when inserting data

morningman opened a new issue #1706: BE cash when inserting data
URL: https://github.com/apache/incubator-doris/issues/1706
 
 
   **To Reproduce**
   ```
   CREATE TABLE `largeint_s` (
     `k1` tinyint(4) NOT NULL COMMENT "",
     `k2` smallint(6) NOT NULL COMMENT "",
     `k3` bigint(20) NOT NULL COMMENT "",
     `k4` largeint(40) 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 5
   PROPERTIES (
   "replication_num" = "1"
   );
   
   
   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`)
   PARTITION BY RANGE(`k1`)
   (PARTITION p1 VALUES LESS THAN ("-64"),
   PARTITION p2 VALUES LESS THAN ("0"),
   PARTITION p3 VALUES LESS THAN ("64"),
   PARTITION p4 VALUES LESS THAN MAXVALUE)
   DISTRIBUTED BY HASH(`k1`) BUCKETS 5
   PROPERTIES (
   "replication_num" = "1"
   );
   ```
   [baseall.txt](https://github.com/apache/incubator-doris/files/3544088/baseall.txt)
   
   Load the attachment file to table `test`, than execute:
   
   `insert into largeint_s select * from test;`
   
   
   BE will crash
   
   ![image](https://user-images.githubusercontent.com/2899462/63737969-c53b9780-c8ba-11e9-8189-36b67dec598b.png)
   

----------------------------------------------------------------
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: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org