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 "Quanlong Huang (Jira)" <ji...@apache.org> on 2022/10/12 02:01:00 UTC

[jira] [Updated] (IMPALA-10660) Impala shell prints DOUBLEs with less precision in HS2 than beeswax

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

Quanlong Huang updated IMPALA-10660:
------------------------------------
    Fix Version/s: Impala 4.2.0

> Impala shell prints DOUBLEs with less precision in HS2 than beeswax
> -------------------------------------------------------------------
>
>                 Key: IMPALA-10660
>                 URL: https://issues.apache.org/jira/browse/IMPALA-10660
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Csaba Ringhofer
>            Assignee: Peter Rozsa
>            Priority: Major
>              Labels: ramp-up
>             Fix For: Impala 4.2.0
>
>
> python shell/impala_shell.py --protocol hs2
> select cast("0.123451234512345" as double);
> result: 0.123451234512 (looses precision)
> python shell/impala_shell.py --protocol beeswax
> select cast("0.123451234512345" as double);
> result 0.123451234512345 (no precision loss)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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