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 2021/05/26 23:52:00 UTC

[jira] [Commented] (IMPALA-10688) Implement ds_cpc_stringify function

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

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

Commit 67de4a48b08208b3ebe907b05b303c91b68a20d7 in impala's branch refs/heads/master from Fucun Chu
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=67de4a4 ]

IMPALA-10688: Implement ds_cpc_stringify() function

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

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

select ds_cpc_stringify(ds_cpc_sketch(float_col)) from
functional_parquet.alltypestiny;
+--------------------------------------------+
| ds_cpc_stringify(ds_cpc_sketch(float_col)) |
+--------------------------------------------+
| ### CPC sketch summary:                    |
|    lg_k           : 11                     |
|    seed hash      : 93cc                   |
|    C              : 2                      |
|    flavor         : 1                      |
|    merged         : true                   |
|    intresting col : 0                      |
|    table entries  : 2                      |
|    window         : not allocated          |
| ### End sketch summary                     |
|                                            |
+--------------------------------------------+

Change-Id: I8c9d089bfada6bebd078d8f388d2e146c79e5285
Reviewed-on: http://gerrit.cloudera.org:8080/17373
Tested-by: Impala Public Jenkins <im...@cloudera.com>
Reviewed-by: Gabor Kaszab <ga...@cloudera.com>


> Implement ds_cpc_stringify function
> -----------------------------------
>
>                 Key: IMPALA-10688
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10688
>             Project: IMPALA
>          Issue Type: New Feature
>            Reporter: Fucun Chu
>            Assignee: Fucun Chu
>            Priority: Major
>
> ds_cpc_stringify()receives a string that is a serialized Apache DataSketches CPC sketch and returns its stringified format.



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