You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Peter Rozsa (Jira)" <ji...@apache.org> on 2022/09/30 13:13:00 UTC
[jira] [Resolved] (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 ]
Peter Rozsa resolved IMPALA-10660.
----------------------------------
Resolution: Done
> 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
>
> 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)