Data Type - Hierarchy

1 - About

3 - Example

The hierarchy of type defines how the types are implicitly converted. Implicit conversion is allowed for types from child to an ancestor. Example of Hierarchy for Hive:

Primitive Type > Number > DOUBLE > FLOAT > BIGINT > INT > SMALLINT > TINYINT
                                 > STRING
               > BOOLEAN

Note that the type hierarchy allows the implicit conversion of STRING to DOUBLE.

code/type/hierarchy.txt ยท Last modified: 2018/10/25 21:05 by gerardnico