[ 
https://issues.apache.org/jira/browse/BEAM-7146?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16894576#comment-16894576
 ] 

Rui Wang commented on BEAM-7146:
--------------------------------

[~sridharG]

This is the big feature I mentioned to you. A general code generator would be 
very useful. Right now we cannot execute SELECT * FROM A JOIN B on A.col + 1 = 
B.col. It is because code generation (thus function execution) is deeply 
coupled with Projection (in BeamCalcRel). Within Join condition we have no way 
to execution any operator (e.g +, -) or function. 

> Code generator is accessible from all RelNode
> ---------------------------------------------
>
>                 Key: BEAM-7146
>                 URL: https://issues.apache.org/jira/browse/BEAM-7146
>             Project: Beam
>          Issue Type: New Feature
>          Components: dsl-sql
>            Reporter: Rui Wang
>            Priority: Major
>
> Right now code generation is used in Projection (in BeamCalcRel). However, 
> code generation can be used in all places that might need to execute a 
> function. Therefore, this JIRA propose to have a layer (called code 
> generator) that could be used in other rels: join, aggregation, etc.
>   



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to