Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19737#discussion_r152011501
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/codegen/GenerateUnsafeRowJoiner.scala
 ---
    @@ -166,6 +214,8 @@ object GenerateUnsafeRowJoiner extends 
CodeGenerator[(StructType, StructType), U
            |  private byte[] buf = new byte[64];
            |  private UnsafeRow out = new UnsafeRow(${schema1.size + 
schema2.size});
            |
    +       |  ${functions.mkString("\n")}
    --- End diff --
    
    this can be `${ctx.declareAddedFunctions()}` if we create an codegen 
context.


---

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

Reply via email to