Data Type - Hierarchy

> Code - (Programming|Computer) Language > (Data) Type - (Datatype|Type of data)

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.

Advertising
code/type/hierarchy.txt · Last modified: 2019/02/18 13:49 by gerardnico