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 "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/09/02 11:41:00 UTC

[jira] [Commented] (IMPALA-10108) Implement ds_kll_stringify function

    [ https://issues.apache.org/jira/browse/IMPALA-10108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17189179#comment-17189179 ] 

ASF subversion and git services commented on IMPALA-10108:
----------------------------------------------------------

Commit 4cb3c3556e77ee24003383155ca5e1b70be4db6e in impala's branch refs/heads/master from Adam Tamas
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=4cb3c35 ]

IMPALA-10108: Implement ds_kll_stringify function

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

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

select ds_kll_stringify(ds_kll_sketch(float_col))
from functional_parquet.alltypestiny;
+--------------------------------------------+
| ds_kll_stringify(ds_kll_sketch(float_col)) |
+--------------------------------------------+
| ### KLL sketch summary:                    |
|    K              : 200                    |
|    min K          : 200                    |
|    M              : 8                      |
|    N              : 8                      |
|    Epsilon        : 1.33%                  |
|    Epsilon PMF    : 1.65%                  |
|    Empty          : false                  |
|    Estimation mode: false                  |
|    Levels         : 1                      |
|    Sorted         : false                  |
|    Capacity items : 200                    |
|    Retained items : 8                      |
|    Storage bytes  : 64                     |
|    Min value      : 0                      |
|    Max value      : 1.1                    |
| ### End sketch summary                     |
|                                            |
+--------------------------------------------+

Change-Id: I97f654a4838bf91e3e0bed6a00d78b2c7aa96f75
Reviewed-on: http://gerrit.cloudera.org:8080/16370
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Implement ds_kll_stringify function
> -----------------------------------
>
>                 Key: IMPALA-10108
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10108
>             Project: IMPALA
>          Issue Type: New Feature
>          Components: Backend
>            Reporter: Gabor Kaszab
>            Assignee: Adam Tamas
>            Priority: Major
>
> ds_kll_stringify() receives a string that is a serialized Apache DataSketches sketch and returns its stringified format by invoking the related function on the sketch's interface.



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