HangyuanLiu commented on issue #1825: HLL support default value
URL: https://github.com/apache/incubator-doris/pull/1825#issuecomment-533002312
 
 
   @kangkaisen 
   If we add a empty_hll function , so we should write load command like .
   
   LOAD LABEL test.uv 
   DATA INFILE ("hdfs://ns1017/**streamA**/*") INTO TABLE `test_uv`
   (pin, id, u1)
   set (
     uv1=hll_hash(u1),
     uv2=empty_hash(u2),
   );
   
   LOAD LABEL test.uv 
   DATA INFILE ("hdfs://ns1017/**streamB**/*") INTO TABLE `test_uv`
   (pin, id, u1)
   set (
     uv1= empty_hash(u1),
     uv2= hll_hash(u2),
   );
   
   uv2 may be another business stream
   It is unreasonable to let the import data for A business  care about the 
other B business HLL type.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

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

Reply via email to