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/05/30 06:02:13 UTC
[GitHub] [incubator-doris] kangkaisen opened a new issue #1223: NPE when
create colocate table
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:
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