We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 079b362 commit 7216511Copy full SHA for 7216511
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/randomExpressions.scala
@@ -102,6 +102,8 @@ case class Rand(child: Expression) extends RDG with ExpressionWithRandomSeed {
102
}
103
104
override def freshCopy(): Rand = Rand(child)
105
+
106
+ override def sql: String = "rand()"
107
108
109
object Rand {
@@ -145,6 +147,8 @@ case class Randn(child: Expression) extends RDG with ExpressionWithRandomSeed {
145
147
146
148
149
override def freshCopy(): Randn = Randn(child)
150
151
+ override def sql: String = "randn()"
152
153
154
object Randn {
0 commit comments