[ https://issues.apache.org/jira/browse/HIVE-6399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13901995#comment-13901995 ]
Eric Hanson commented on HIVE-6399: ----------------------------------- Remus' patch is technically good. I have a question I'll raise with the PMC though about the comment about using the algorithm from BigInteger.multiplyToLen. For now I'm going to promote my original patch to get it in so we can get the bug failure out of trunk. > bug in high-precision Decimal128 multiply > ----------------------------------------- > > Key: HIVE-6399 > URL: https://issues.apache.org/jira/browse/HIVE-6399 > Project: Hive > Issue Type: Sub-task > Components: Query Processor, Vectorization > Reporter: Eric Hanson > Assignee: Eric Hanson > Labels: vectorization > Fix For: 0.13.0 > > Attachments: HIVE-6399.01.patch, HIVE-6399.02.patch, > HIVE-6399.02.patch, HIVE-6399.3.patch, HIVE-6399.4.patch > > > For operation -605044214913338382 * 55269579109718297360 > expected: -33440539101030154945490585226577271520 > but was: -33440539021801992431226247633033321184 > More generally, if you run TestDecimal128.testHighPrecisionDecimal128Multiply > many times, you'll get an occasional failure. This is one example of such a > failure. -- This message was sent by Atlassian JIRA (v6.1.5#6160)