[HOT-FIX] Add EvaluatedType back to RDG
87941ff8c4
accidentally removed the EvaluatedType.
Author: Yin Huai <yhuai@databricks.com>
Closes #6589 from yhuai/getBackEvaluatedType and squashes the following commits:
618c2eb [Yin Huai] Add EvaluatedType back.
This commit is contained in:
parent
97fedf1a02
commit
8c3fc3a6cd
|
@ -38,6 +38,8 @@ abstract class RDG(seed: Long) extends LeafExpression with Serializable {
|
||||||
*/
|
*/
|
||||||
@transient protected lazy val rng = new XORShiftRandom(seed + TaskContext.get().partitionId())
|
@transient protected lazy val rng = new XORShiftRandom(seed + TaskContext.get().partitionId())
|
||||||
|
|
||||||
|
override type EvaluatedType = Double
|
||||||
|
|
||||||
override def deterministic: Boolean = false
|
override def deterministic: Boolean = false
|
||||||
|
|
||||||
override def nullable: Boolean = false
|
override def nullable: Boolean = false
|
||||||
|
|
Loading…
Reference in a new issue