You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Adam Tamas (Jira)" <ji...@apache.org> on 2020/09/02 13:39:00 UTC

[jira] [Updated] (IMPALA-10133) Implement ds_hll_stringify()

     [ https://issues.apache.org/jira/browse/IMPALA-10133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Tamas updated IMPALA-10133:
--------------------------------
    Description: 
This function receives a string that is a serialized Apache DataSketches
HLL sketch and returns its stringified format.

A stringified format should look like and contains the following data:

{code:java}
(select ds_hll_stringify(ds_hll_sketch(i)) from t;)
+----------------------------------------------------+
|                        _c0                         |
+----------------------------------------------------+
| ### HLL SKETCH SUMMARY: 
  Log Config K   : 12
  Hll Target     : HLL_4
  Current Mode   : LIST
  Memory         : true
  LB             : 1.0
  Estimate       : 1.0
  UB             : 1.000049929250618
  OutOfOrder Flag: false
  Coupon Count   : 1
 |
+----------------------------------------------------+
{code}


  was:
This function receives a string that is a serialized Apache DataSketches
HLL sketch and returns its stringified format.

A stringified format should look like and contains the following data:
(select ds_hll_stringify(ds_hll_sketch(i)) from t;)
+----------------------------------------------------+
|                        _c0                         |
+----------------------------------------------------+
| ### HLL SKETCH SUMMARY: 
  Log Config K   : 12
  Hll Target     : HLL_4
  Current Mode   : LIST
  Memory         : true
  LB             : 1.0
  Estimate       : 1.0
  UB             : 1.000049929250618
  OutOfOrder Flag: false
  Coupon Count   : 1
 |
+----------------------------------------------------+


> Implement ds_hll_stringify()
> ----------------------------
>
>                 Key: IMPALA-10133
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10133
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: Adam Tamas
>            Priority: Major
>
> This function receives a string that is a serialized Apache DataSketches
> HLL sketch and returns its stringified format.
> A stringified format should look like and contains the following data:
> {code:java}
> (select ds_hll_stringify(ds_hll_sketch(i)) from t;)
> +----------------------------------------------------+
> |                        _c0                         |
> +----------------------------------------------------+
> | ### HLL SKETCH SUMMARY: 
>   Log Config K   : 12
>   Hll Target     : HLL_4
>   Current Mode   : LIST
>   Memory         : true
>   LB             : 1.0
>   Estimate       : 1.0
>   UB             : 1.000049929250618
>   OutOfOrder Flag: false
>   Coupon Count   : 1
>  |
> +----------------------------------------------------+
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org