Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Big Data Management
  3. Connections
  4. Mappings in a Hadoop Environment
  5. Mapping Objects in a Hadoop Environment
  6. Mappings in the Native Environment
  7. Profiles
  8. Native Environment Optimization
  9. Data Type Reference
  10. Function Reference
  11. Parameter Reference

Hive Data Types and Transformation Data Types

Hive Data Types and Transformation Data Types

The following table lists the Hive data types that Data Integration Service supports and the corresponding transformation data types:
Hive Data Type
Transformation Data Type
Range and Description
Binary
Binary
1 to 104,857,600 bytes. You can read and write data of Binary data type in a Hadoop environment. You can use the user-defined functions to transform the binary data type.
Tiny Int
Integer
-32,768 to 32,767
Integer
Integer
-2,147,483,648 to 2,147,483,647 Precision 10, scale 0
Bigint
Bigint
-9,223,372,036,854,775,808 to 9,223,372,036,854,775,807 Precision 19, scale 0
Decimal
Decimal
Precision 1 to 28, scale 0 to 28
For transformations that support precision up to 38 digits, the precision is 1 to 38 digits, and the scale is 0 to 38.
For transformations that support precision up to 28 digits, the precision is 1 to 28 digits, and the scale is 0 to 28.
For transformations that support precision up to 38 digits, the precision is 1 to 38 digits, and the scale is 0 to 38.
For transformations that support precision up to 28 digits, the precision is 1 to 28 digits, and the scale is 0 to 28.
If a mapping is not enabled for high precision, the Data Integration Service converts all decimal values to double values.
If a mapping is enabled for high precision, the Data Integration Service converts decimal values with precision greater than 38 digits to double values.
Double
Double
Precision 15
Float
Double
Precision 15
String
String
1 to 104,857,600 characters
Boolean
Integer
1 or 0
The default transformation type for boolean is integer. You can also set this to string data type with values of True and False.
Arrays
String
1 to 104,857,600 characters
Struct
String
1 to 104,857,600 characters
Maps
String
1 to 104,857,600 characters
Timestamp
datetime
The time stamp format is YYYY-MM-DD HH:MM:SS.fffffffff. Precision 29, scale 9.
Date
datetime
0000-01­01 to 9999­12-31. Hive date format is YYYY-MM-DD. Precision 10, scale 0.
Char
String
1 to 255 characters
Varchar
String
1 to 65355 characters


Updated July 03, 2018