HangyuanLiu opened a new issue #1897: HLL column may store null value
URL: https://github.com/apache/incubator-doris/issues/1897
 
 
   **Describe the bug**
   HLL column may store null value
   **To Reproduce**
   Steps to reproduce the behavior:
   1、
   CREATE TABLE `test_uv_13` (
     `pin_id` bigint(20) NOT NULL COMMENT "",
     `id` bigint(20) NULL COMMENT "",
     `uv1` hll HLL_UNION NOT NULL COMMENT "",
     `uv2` hll HLL_UNION NOT NULL COMMENT ""
   ) ENGINE=OLAP
   AGGREGATE KEY(`pin_id`, `id`)
   DISTRIBUTED BY HASH(`pin_id`) BUCKETS 16
   PROPERTIES (
   "storage_type" = "COLUMN"
   )
   2、
   insert into test_uv_13 (pin_id,id) values(1,2);
   3、select hll_union_agg(uv1) from test_uv_13;
   
   This select statement may result in crash
   
   There are several problems with this scenario
   **1. Why does the created table have default value in HLL
   2. Why can the import succeed when the default value is 0
   3. Why be crash when select** 

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