[ https://issues.apache.org/jira/browse/FLINK-6237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15953697#comment-15953697 ]
ASF GitHub Bot commented on FLINK-6237: --------------------------------------- Github user twalthr commented on a diff in the pull request: https://github.com/apache/flink/pull/3660#discussion_r109453119 --- Diff: flink-libraries/flink-table/src/main/scala/org/apache/flink/table/codegen/CodeGenerator.scala --- @@ -1106,6 +1106,31 @@ class CodeGenerator( requireArray(array) generateArrayElement(this, array) + // RAND([seed]) + case RAND if isNumeric(resultType) && operands.size <= 1 => --- End diff -- We don't need this changes if the method is implemented using a `CallGenerator` in `FunctionGenerator`. > support RAND and RAND_INTEGER on SQL > ------------------------------------ > > Key: FLINK-6237 > URL: https://issues.apache.org/jira/browse/FLINK-6237 > Project: Flink > Issue Type: New Feature > Components: Table API & SQL > Reporter: godfrey he > Assignee: godfrey he > > support RAND and RAND_INTEGER with and without seed on SQL. > like: > RAND([seed]), > RAND_INTEGER([seed, ] bound) -- This message was sent by Atlassian JIRA (v6.3.15#6346)