HangyuanLiu opened a new issue #1895: HLL and Bitmap support default value
URL: https://github.com/apache/incubator-doris/issues/1895
 
 
   When load date don't have HLL/bitmap value
   eg:
   CREATE TABLE test_uv_9 (
   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"
   )
   1、curl --location-trusted -u root:123456 -H column_separator:, -H 
label:test_uv_14 -H "columns:pin_id,idx,u1,u2,id=12 ,uv1=hll_hash(u1)" -T 
uv_test http://11.40.166.162:8030/api/test/test_uv_9/_stream_load
   Result :hll_union_agg(uv2) should be 0,And hll_union_agg(uv1) has values > 0
   
   2、curl --location-trusted -u root:123456 -H column_separator:, -H 
label:test_uv_15 -H "columns:pin_id,idx,u1,u2,id=12" -T uv_test 
http://11.40.166.162:8030/api/test/test_uv_10/_stream_load
   Result :hll_union_agg(uv1) and hll_union_agg(uv2) should be 0

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