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 2020/05/27 07:51:15 UTC

[GitHub] [incubator-doris] chaoyli opened a new issue #3700: [Bug] Duplicate Key table core when predicate on metric column.

chaoyli opened a new issue #3700:
URL: https://github.com/apache/incubator-doris/issues/3700


   ```
       CREATE TABLE `query_detail` (
         `query_id` varchar(100) NULL COMMENT "",
         `start_time` datetime NULL COMMENT "",
         `end_time` datetime NULL COMMENT "",
         `latency` int(11) NULL COMMENT "unit is milliseconds",
         `state` varchar(20) NULL COMMENT "RUNNING/FINISHED/FAILED",
         `sql` varchar(1024) NULL COMMENT ""
       )
       DUPLICATE KEY(`query_id`)
   
       SELECT COUNT(*) FROM query_detail WHERE start_time >= '2020-05-27 14:52:16' AND start_time < '2020-05-27 14:52:31';
   ```
   The above query will core because of ZoneMap only in query_id.
   Use start_time to match ZoneMap cause this core.


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



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


[GitHub] [incubator-doris] chaoyli closed issue #3700: [Bug] Duplicate Key table core when predicate on metric column.

Posted by GitBox <gi...@apache.org>.
chaoyli closed issue #3700:
URL: https://github.com/apache/incubator-doris/issues/3700


   


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



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