[
https://issues.apache.org/jira/browse/HIVE-22315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16948225#comment-16948225
]
Gopal Vijayaraghavan commented on HIVE-22315:
---------------------------------------------
The math for rounding up/down works even for integer fixedpoints. I'll dig up
some docs on it right now.
but for (12,2) and 3.95 + -728, here's the round-up/down values
{code}
scala> ((395 * 10000 / -728))
res1: Int = -5426
{code}
> Support Decimal64 column division with decimal64 scalar
> -------------------------------------------------------
>
> Key: HIVE-22315
> URL: https://issues.apache.org/jira/browse/HIVE-22315
> Project: Hive
> Issue Type: Bug
> Reporter: Ramesh Kumar Thangarajan
> Assignee: Ramesh Kumar Thangarajan
> Priority: Major
> Attachments: HIVE-22315.1.patch
>
>
> Currently division operation is not supported for Decimal64 column. This Jira
> will take care of supporting decimal64 column division with a decimal64
> scalar.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)