[
https://issues.apache.org/jira/browse/PHOENIX-3479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15694360#comment-15694360
]
Kevin Liew commented on PHOENIX-3479:
-------------------------------------
WIP patch.
I used `RoundingMode.HALF_UP` to convert BigDecimal to whole numbers at the
JDBC layer so that "SELECT six * four / three" will evaluate to 8.
But I think the correct approach would be to create a LongModulusExpression
similar to LongDivideExpression.
> Modulo support for non integer-types
> ------------------------------------
>
> Key: PHOENIX-3479
> URL: https://issues.apache.org/jira/browse/PHOENIX-3479
> Project: Phoenix
> Issue Type: Bug
> Affects Versions: 4.8.0
> Reporter: Kevin Liew
> Assignee: Kevin Liew
> Priority: Minor
> Attachments: PHOENIX-3479.patch
>
>
> MOD should be applicable to all numeric types
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)