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 2022/11/09 01:50:36 UTC

[GitHub] [doris] lide-reed commented on issue #14098: [Bug] The result of count(*) may be wrong when loading many times to a duplicate table.

lide-reed commented on issue #14098:
URL: https://github.com/apache/doris/issues/14098#issuecomment-1308086614

   CREATE TABLE `lineitem` (
     `l_shipdate` datev2 NOT NULL,
     `l_orderkey` bigint(20) NOT NULL,
     `l_linenumber` int(11) NOT NULL,
     `l_partkey` int(11) NOT NULL,
     `l_suppkey` int(11) NOT NULL,
     `l_quantity` decimal(15, 2) NOT NULL,
     `l_extendedprice` decimal(15, 2) NOT NULL,
     `l_discount` decimal(15, 2) NOT NULL,
     `l_tax` decimal(15, 2) NOT NULL,
     `l_returnflag` varchar(1) NOT NULL,
     `l_linestatus` varchar(1) NOT NULL,
     `l_commitdate` datev2 NOT NULL,
     `l_receiptdate` datev2 NOT NULL,
     `l_shipinstruct` varchar(25) NOT NULL,
     `l_shipmode` varchar(10) NOT NULL,
     `l_comment` varchar(44) NOT NULL
   ) ENGINE=OLAP
   DUPLICATE KEY(`l_shipdate`, `l_orderkey`)
   COMMENT 'OLAP'
   DISTRIBUTED BY HASH(`l_orderkey`) BUCKETS 96
   PROPERTIES (
   "replication_allocation" = "tag.location.default: 1",
   "colocate_with" = "lineitem_orders",
   "in_memory" = "false",
   "storage_format" = "V2",
   "disable_auto_compaction" = "false"
   );


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

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

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