You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Colin Ma (JIRA)" <ji...@apache.org> on 2017/03/28 07:13:41 UTC

[jira] [Created] (HIVE-16311) Improve the performance for FastHiveDecimalImpl.fastDivide

Colin Ma created HIVE-16311:
-------------------------------

             Summary: Improve the performance for FastHiveDecimalImpl.fastDivide
                 Key: HIVE-16311
                 URL: https://issues.apache.org/jira/browse/HIVE-16311
             Project: Hive
          Issue Type: Improvement
    Affects Versions: 2.2.0
            Reporter: Colin Ma
            Assignee: Colin Ma
             Fix For: 2.2.0


FastHiveDecimalImpl.fastDivide is poor performance when evaluate the expression as 12345.67/123.45
There are 2 points can be improved:
1. Don't always use HiveDecimal.MAX_SCALE as scale when do the BigDecimal.divide.
2. Get the precision for BigInteger in a fast way if possible.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)