Github user dilipbiswal commented on a diff in the pull request:

    https://github.com/apache/spark/pull/21857#discussion_r204774728
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/generators.scala
 ---
    @@ -222,6 +222,32 @@ case class Stack(children: Seq[Expression]) extends 
Generator {
       }
     }
     
    +/**
    + * Replicate the row N times. N is specified as the first argument to the 
function.
    + * This is a internal function solely used by optimizer to rewrite EXCEPT 
ALL AND
    + * INTERSECT ALL queries.
    + */
    +case class ReplicateRows(children: Seq[Expression]) extends Generator with 
CodegenFallback {
    --- End diff --
    
    @maropu I would like to take this in a follow up. I think we have codegen 
disabled for generators in general. So we will not be able to take advantage of 
it ?


---

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

Reply via email to