jackylee-ch commented on PR #47268:
URL: https://github.com/apache/spark/pull/47268#issuecomment-2219399324

   > Is it possible to combine the code generation and non-code generation code?
   
   AFAIK, it's hard to set lazy function to DeferredObject. I have tried with 
lambda functions and inner classes to put `eval.code` in it. The `Janino` does 
not support lambda. Additionally, the `eval.code` relies on other variables, 
such as `columnartorow_batchIdx_0` from `BoundReference`, which cannot be 
accessed in an inner class.
   
   Any better ideas?


-- 
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