Github user gatorsmile commented on the issue:

    https://github.com/apache/spark/pull/15432
  
    Let me show you an example:
    
https://www.ibm.com/support/knowledgecenter/SSEPEK_11.0.0/sqlref/src/tpc/db2z_bif_rand.html
    
    This is the official document of `rand` in DB2 z/OS. Below is about the 
input parameter:
    
    1. If numeric-expression is specified, it is used as the seed value. The 
argument must be an expression that returns a value of a built-in integer data 
type (SMALLINT or INTEGER). The value must be between 0 and 2,147,483,646.
    
    2. The argument must be an expression that returns a value of a built-in 
integer data type (SMALLINT or INTEGER). The value must be between 0 and 
2,147,483,646.
    
    3. The result can be null; if the argument is null, the result is the null 
value.
    
    4. RAND(0) is processed the same as RAND().



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to