You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Andrew Pilloud (JIRA)" <ji...@apache.org> on 2018/09/04 21:48:00 UTC
[jira] [Commented] (CALCITE-2529) linq4j should promote integer to
floating point when generating function calls
[ https://issues.apache.org/jira/browse/CALCITE-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16603633#comment-16603633 ]
Andrew Pilloud commented on CALCITE-2529:
-----------------------------------------
Proposed fix is here: https://github.com/apache/calcite/pull/818
> 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)