You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Anurag (JIRA)" <ji...@apache.org> on 2012/05/18 08:38:08 UTC

[jira] [Created] (HIVE-3036) hive should support BigDecimal datatype

Anurag created HIVE-3036:
----------------------------

             Summary: hive should support BigDecimal datatype
                 Key: HIVE-3036
                 URL: https://issues.apache.org/jira/browse/HIVE-3036
             Project: Hive
          Issue Type: New Feature
          Components: Query Processor
    Affects Versions: 0.8.1, 0.8.0, 0.7.1
            Reporter: Anurag
             Fix For: 0.10.0


hive has support for big int but people have use cases where they need decimal precision to a big value.

Values in question are like decimal(x,y).

for eg. decimal of form (17,6) which cannot be represented by float/double.

 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (HIVE-3036) hive should support BigDecimal datatype

Posted by "Carl Steinbach (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HIVE-3036?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carl Steinbach updated HIVE-3036:
---------------------------------

    Component/s: Types
    
> hive should support BigDecimal datatype
> ---------------------------------------
>
>                 Key: HIVE-3036
>                 URL: https://issues.apache.org/jira/browse/HIVE-3036
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor, Types
>    Affects Versions: 0.7.1, 0.8.0, 0.8.1
>            Reporter: Anurag Tangri
>             Fix For: 0.10.0
>
>
> hive has support for big int but people have use cases where they need decimal precision to a big value.
> Values in question are like decimal(x,y).
> for eg. decimal of form (17,6) which cannot be represented by float/double.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (HIVE-3036) hive should support BigDecimal datatype

Posted by "Anurag Tangri (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HIVE-3036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400064#comment-13400064 ] 

Anurag Tangri commented on HIVE-3036:
-------------------------------------

Looked at some pig implementation where java's big decimal is not being used.

There is definitely a performance issue with java's big decimal but having this feature is important in lot of financial institutions who care about precision upto 8-12 places after decimal points.


They might not care right now about the performance hit vs having this in hive.

I suggest to include it in primitive types in hive along with other java types. And can start working on it.

Any thoughts anyone ? 

Thanks,
Anurag Tangri
                
> hive should support BigDecimal datatype
> ---------------------------------------
>
>                 Key: HIVE-3036
>                 URL: https://issues.apache.org/jira/browse/HIVE-3036
>             Project: Hive
>          Issue Type: New Feature
>          Components: Query Processor
>    Affects Versions: 0.7.1, 0.8.0, 0.8.1
>            Reporter: Anurag Tangri
>             Fix For: 0.10.0
>
>
> hive has support for big int but people have use cases where they need decimal precision to a big value.
> Values in question are like decimal(x,y).
> for eg. decimal of form (17,6) which cannot be represented by float/double.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira