Site icon Tutorial

Hive Data types

Hive supports several sizes of integer and floating-point types, a Boolean type, and character strings of arbitrary length. Hive v0.8.0 added types for timestamps and binary fields. The data types supported by Hive are

Numeric Types

Integral literals are assumed to be INT by default, unless the number exceeds the range of INT in which case it is interpreted as a BIGINT, or if one of the following postfixes is present on the number.

Date/Time Types

String Types

Complex Types

Exit mobile version