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

Yash Sharma commented on DRILL-248:
-----------------------------------

Need suggestions for the divide function:

The input/output value for division func currently are all IntHolders, whereas 
the output for division can be both Int/Float for division of two IntHolders.

In that case should we have multiple overloaded functions with different return 
types, or we can return a Float8Holder from the method rather than IntHolder.



                
> Implement scalar functions divide, multiply, subtract
> -----------------------------------------------------
>
>                 Key: DRILL-248
>                 URL: https://issues.apache.org/jira/browse/DRILL-248
>             Project: Apache Drill
>          Issue Type: Improvement
>            Reporter: Yash Sharma
>         Attachments: DRILL-248.diff
>
>
> Need to add other scalar functions: divide, multiply, subtract.
> Currently only add works. Functions divide, multiply, subtract are registered 
> in Function definitions (MathFunctions) but implementations needs to be added.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to