[
https://issues.apache.org/jira/browse/BEAM-7724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16893219#comment-16893219
]
sridhar Reddy commented on BEAM-7724:
-------------------------------------
[~amaliujia] Thank you for summarising the code generation in BeamSQL. Your
explanation makes it easy to understand what I am looking at when I am
debugging this.
I agree that the change might not happen within Beam repo but I will still go
through some more debugging with the new knowledge of code generation. I will
see if I can find any workarounds.
> Codegen should cast(null) to a type to match exact function signature
> ---------------------------------------------------------------------
>
> Key: BEAM-7724
> URL: https://issues.apache.org/jira/browse/BEAM-7724
> Project: Beam
> Issue Type: Improvement
> Components: dsl-sql
> Reporter: Rui Wang
> Assignee: sridhar Reddy
> Priority: Major
>
> If there are two function signatures for the same function name, when input
> parameter is null, Janino will throw exception due to vagueness:
> A(String)
> A(Integer)
> Janino does not know how to match A(null).
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)