ulysses-you commented on code in PR #5796:
URL: https://github.com/apache/incubator-gluten/pull/5796#discussion_r1606499181


##########
gluten-core/src/main/scala/org/apache/gluten/expression/UnaryExpressionTransformer.scala:
##########
@@ -203,43 +102,32 @@ case class RandTransformer(
     substraitExprName: String,
     explicitSeed: ExpressionTransformer,
     original: Rand)
-  extends ExpressionTransformerWithOrigin {
+  extends LeafExpressionTransformer {

Review Comment:
   This is an another example to show how to work with `ExpressionTransformer`, 
rand is a unary expression in vanilla Spark but native does not accpet arg, 
then we mark it as leaf expression transformer.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to