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

Adam Tamas commented on IMPALA-10132:
-------------------------------------

Impala is not able to give back complex types as of now.

We can either wait until it gets implemented or give back the estimations as a 
string with the values separated with commas.

> Implement ds_hll_estimate_bounds()
> ----------------------------------
>
>                 Key: IMPALA-10132
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10132
>             Project: IMPALA
>          Issue Type: Sub-task
>            Reporter: Adam Tamas
>            Priority: Major
>
> In hive ds_hll_estimate_bounds() gives back an array of doubles.
> An example for a sketch created from a table which contains only a single 
> value:
> {code:java}
> (select ds_hll_estimate_bounds(ds_hll_sketch(i)) from t;)
> +-------------------------------+
> |              _c0              |
> +-------------------------------+
> | [1.0,1.0,1.0000998634873453]  |
> +-------------------------------+
> {code}
> The values of the array is probably a lower bound, an estimate and an upper 
> bound of the sketch.



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

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

Reply via email to