[
https://issues.apache.org/jira/browse/IMPALA-12692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17824835#comment-17824835
]
ASF subversion and git services commented on IMPALA-12692:
----------------------------------------------------------
Commit ca3fe6d6af6f5216f75bea26d6e90cf5cc816efc in impala's branch
refs/heads/master from Anshula Jain
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=ca3fe6d6a ]
IMPALA-12692 : [DOCS] Typo in docs about random() function
Changed name of random fucntion in impala_math_functions.xml
from "RANDOME(), RANDOME(BIGINT seed)" to "RANDOM(), RANDOM(BIGINT seed)"
Change-Id: I4844eb8d155326081c385d88b98a591dbbde7369
Reviewed-on: http://gerrit.cloudera.org:8080/21126
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Michael Smith <[email protected]>
> Typo in docs about random() function
> ------------------------------------
>
> Key: IMPALA-12692
> URL: https://issues.apache.org/jira/browse/IMPALA-12692
> Project: IMPALA
> Issue Type: Bug
> Components: Docs
> Affects Versions: Impala 4.4.0
> Reporter: Joe McDonnell
> Assignee: Anshula Jain
> Priority: Major
> Labels: newbie
> Fix For: Impala 4.4.0
>
>
> The docs for rand()/random() has a typo that refers to "randome":
> {noformat}
> RAND(), RAND(BIGINT seed), RANDOME(), RANDOME(BIGINT seed){noformat}
> [https://github.com/apache/impala/blob/master/docs/topics/impala_math_functions.xml#L1466]
> It should be random().
> {noformat}
> [localhost:21050] functional> select randome();
> Query: select randome()
> Query submitted at: 2024-01-08 22:50:44 (Coordinator:
> http://joemcdonnell-22743:25000)
> ERROR: AnalysisException: functional.randome() unknown for database
> functional. Currently this db has 0 functions.
> [localhost:21050] functional> select random();
> Query: select random()
> Query submitted at: 2024-01-08 22:51:21 (Coordinator:
> http://joemcdonnell-22743:25000)
> Query progress can be monitored at:
> http://joemcdonnell-22743:25000/query_plan?query_id=7e467178f9a8af8e:771d01ee00000000
> +--------------+
> | random() |
> +--------------+
> | 0.4784972579 |
> +--------------+
> Fetched 1 row(s) in 0.11s
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]