hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Grover (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-3976) Support specifying scale and precision with Hive decimal type
Date Fri, 01 Feb 2013 22:04:12 GMT
Mark Grover created HIVE-3976:
---------------------------------

             Summary: Support specifying scale and precision with Hive decimal type
                 Key: HIVE-3976
                 URL: https://issues.apache.org/jira/browse/HIVE-3976
             Project: Hive
          Issue Type: Improvement
          Components: Query Processor, Types
            Reporter: Mark Grover


HIVE-2693 introduced support for Decimal datatype in Hive. However, the current implementation
has unlimited precision and provides no way to specify precision and scale when creating the
table.

For example, MySQL allows users to specify scale and precision of the decimal datatype when
creating the table:
{code}
CREATE TABLE numbers (a DECIMAL(20,2));
{code}

Hive should support something similar too.

--
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

Mime
View raw message