[ https://issues.apache.org/jira/browse/HIVE-22315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16948203#comment-16948203 ]
Gopal Vijayaraghavan commented on HIVE-22315: --------------------------------------------- {code} Row 1 typeName1 decimal(12,2) typeName2 decimal(12,2) outputTypeName decimal(16,6) DIVIDE VECTOR_EXPRESSION COLUMN_SCALAR result -0.005425 (HiveDecimalWritable) does not match row-mode expected result -0.005426 (HiveDecimalWritable) row values [3.95] scalar2 -728 {code} Running it in bc {code} scale=6 3.95/-728 -.005425 3.95/-728 -.0054258 {code} so this is a rounding issue. > 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)