[ https://issues.apache.org/jira/browse/IMPALA-12692?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Smith resolved IMPALA-12692. ------------------------------------ Fix Version/s: Impala 4.4.0 Resolution: Fixed > 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)