Yuming Wang created SPARK-27930:
-----------------------------------
Summary: Add built-in Math Function: RANDOM
Key: SPARK-27930
URL: https://issues.apache.org/jira/browse/SPARK-27930
Project: Spark
Issue Type: Sub-task
Components: SQL
Affects Versions: 3.0.0
Reporter: Yuming Wang
The RANDOM function generates a random value between 0.0 and 1.0. Syntax:
{code:sql}
RANDOM()
{code}
More details:
https://www.postgresql.org/docs/12/functions-math.html
Other DBs:
https://docs.aws.amazon.com/redshift/latest/dg/r_RANDOM.html
https://www.vertica.com/docs/9.2.x/HTML/Content/Authoring/SQLReferenceManual/Functions/Mathematical/RANDOM.htm?tocpath=SQL%20Reference%20Manual%7CSQL%20Functions%7CMathematical%20Functions%7C_____24
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]