imay opened a new issue #1318: BE crash when Loading data to unpartitioned 
table with specified partition
URL: https://github.com/apache/incubator-doris/issues/1318
 
 
   **Describe the bug**
   
   when loading data to a unpartitioned table with a specified partition, BE 
would crash.
   
   Because BE think if there is a partition, there will be a partition 
expression. but for unpartitioned table, there would be none. Which make BE 
crash.
   
   **To Reproduce**
   Steps to reproduce the behavior:
   1. create a unpartitioned table. 
   ```
   CREATE TABLE `test` (
    `c1` int(11) NOT NULL COMMENT "",
    `c2` int(11) NOT NULL DEFAULT "1" COMMENT ""
   ) ENGINE=OLAP
    DISTRIBUTED BY HASH(`c2`) BUCKETS 10
    PROPERTIES (
   "storage_type" = "COLUMN",
   "replication_num" = "1"
   );
   ```
   2. load a file
   ```
   LOAD LABEL test1(
   DATA INFILE("hdfs://hdfs/file")
   INTO TABLE test
   PARTITION (test)
   )
   WITH BROKER doris
   ```
   3. be will crash
   ```
   show backends
   ```

----------------------------------------------------------------
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