[ https://issues.apache.org/jira/browse/IMPALA-10660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17654162#comment-17654162 ]
ASF subversion and git services commented on IMPALA-10660: ---------------------------------------------------------- Commit 9b3385cee2b8e2c37a091dde45df360463386d8b in impala's branch refs/heads/master from Daniel Becker [ https://gitbox.apache.org/repos/asf?p=impala.git;h=9b3385cee ] IMPALA-11799: Fix example of the hs2_fp_format shell option IMPALA-10660 introduced the "hs2_fp_format" shell option. In the help section describing the query option it states: Use '%16G' to match Beeswax protocol's floating-point output format However, '%16G' is not accepted by the shell: bin/impala-shell.sh --hs2_fp_format='%16G' Invalid floating point format specification: %16G This commit changes the example to '16G'. Also corrected the name of the option in shell/impala_shell_config_defaults.py from 'fp_format_specification' to 'hs2_fp_format'. Change-Id: If53e69b495dfeb8d6d65878eff9580c5e12f793d Reviewed-on: http://gerrit.cloudera.org:8080/19359 Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> > 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-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org