kangkaisen opened a new issue #1223: NPE when create colocate table
URL: https://github.com/apache/incubator-doris/issues/1223
 
 
   **Describe the bug**
   ```
   Stacktrace was: java.lang.NullPointerException
     at org.apache.doris.catalog.Catalog.createOlapTable(Catalog.java:3599)
     at org.apache.doris.catalog.Catalog.createTable(Catalog.java:2801)
     at org.apache.doris.catalog.Catalog.createTable(Catalog.java:2761)
   ```
   
   **To Reproduce**
   1 the table `T1` doesn't exist
   2 create table `t1` colocate with `T1`
   ```
   CREATE TABLE `t1` (
     `dt` int(11) COMMENT "",
     `id` int(11) COMMENT "",
     `value` varchar(8) COMMENT ""
   ) ENGINE=OLAP
   DUPLICATE KEY(`dt`, `id`)
   PARTITION BY RANGE(`dt`)
   (PARTITION p1 VALUES LESS THAN ("10"))
   DISTRIBUTED BY HASH(`id`) BUCKETS 10
   PROPERTIES (
    "colocate_with" = "T1"
   );
   ```
   

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