Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.11.0
-
None
-
Incompatible change
Description
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:
CREATE TABLE numbers (a DECIMAL(20,2));
Hive should support something similar too.
Attachments
Attachments
Issue Links
- blocks
-
HIVE-5354 Decimal precision/scale support in ORC file
- Resolved
- depends upon
-
HIVE-5366 Refactor a few object inspector class to eliminate redundant information
- Resolved
-
HIVE-5372 Refactor TypeInfo and PrimitiveTypeEntry class hierachy to eliminate info repetition
- Resolved
- incorporates
-
HIVE-5866 Hive divide operator generates wrong results in certain cases
- Resolved
-
HIVE-5408 Method matching needs to be improved in NumericOpMethodResolver to suport decimal type with parameters
- Open
-
HIVE-5520 Use factory methods to instantiate HiveDecimal instead of constructors
- Resolved
-
HIVE-5872 Make UDAFs such as GenericUDAFSum report accurate precision/scale for decimal types
- Resolved
-
HIVE-5354 Decimal precision/scale support in ORC file
- Resolved
-
HIVE-5355 JDBC support for decimal precision/scale
- Resolved
-
HIVE-5356 Move arithmatic UDFs to generic UDF implementations
- Resolved
-
HIVE-5564 Need to accomodate table decimal columns that were defined prior to HIVE-3976
- Resolved
-
HIVE-5565 Limit Hive decimal type maximum precision and scale to 38
- Resolved
- is blocked by
-
HIVE-5520 Use factory methods to instantiate HiveDecimal instead of constructors
- Resolved
- is depended upon by
-
HIVE-4523 round() function with specified decimal places not consistent with mysql
- Resolved
-
HIVE-5355 JDBC support for decimal precision/scale
- Resolved
-
HIVE-5564 Need to accomodate table decimal columns that were defined prior to HIVE-3976
- Resolved
-
HIVE-5565 Limit Hive decimal type maximum precision and scale to 38
- Resolved
- is related to
-
HIVE-2693 Add DECIMAL data type
- Closed
-
HIVE-5520 Use factory methods to instantiate HiveDecimal instead of constructors
- Resolved
- relates to
-
HIVE-5022 Decimal Arithmetic generates NULL value
- Resolved
-
HIVE-4844 Add varchar data type
- Closed
- requires
-
HIVE-5548 Tests under common directory don't run as part of 'ant test'
- Resolved
-
HIVE-5706 Move a few numeric UDFs to generic implementations
- Resolved
- links to