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 2023/01/03 19:38:00 UTC

[jira] [Commented] (IMPALA-11799) Fix example of the hs2_fp_format shell option

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

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

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 <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> Fix example of the hs2_fp_format shell option
> ---------------------------------------------
>
>                 Key: IMPALA-11799
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11799
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Clients
>            Reporter: Daniel Becker
>            Assignee: Daniel Becker
>            Priority: Minor
>
> IMPALA-10660 introduced the "hs2_fp_format" shell option. In the help section describing the query option it states:
> {noformat}
> Use '%16G' to match Beeswax protocol's floating-point output format{noformat}
> However, '%16G' is not accepted by the shell:
> {code:java}
> bin/impala-shell.sh --hs2_fp_format='%16G'
> Invalid floating point format specification: %16G{code}
> We should change the example to '16G'.



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