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

Andrew Pilloud commented on CALCITE-2529:
-----------------------------------------

Thanks for taking a look, I've cleaned up the code as you suggested and it is 
much simpler now. In my quick scan I did not find any open issues for this 
specific case, but CALCITE-1467 covers another case not handled here. I've 
already looked into that one and the fix is much more involved. I will spend a 
little more time today looking for related Jira issues and scanning for 
redundant functions.

> linq4j should promote integer to floating point when generating function calls
> ------------------------------------------------------------------------------
>
>                 Key: CALCITE-2529
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2529
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Andrew Pilloud
>            Assignee: Julian Hyde
>            Priority: Major
>
> For example, I get "RuntimeException: while resolving method 'atan2[double, 
> int]'" when trying to execute a query with "ATAN2(c_double, 2)" (where 
> c_double is a column containing the double type). atan2[double, double] 
> should resolve as a valid implementation in this case.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to