Javatpoint Logo
Javatpoint Logo

Pig Data Types

Apache Pig supports many data types. A list of Apache Pig Data Types with description and examples are given below.

TypeDescriptionExample
IntSigned 32 bit integer2
Long Signed 64 bit integer 15L or 15l
Float 32 bit floating point 2.5f or 2.5F
Double 32 bit floating point 1.5 or 1.5e2 or 1.5E2
charArray Character array hello javatpoint
byteArray BLOB(Byte array)
tuple Ordered set of fields (12,43)
bag Collection f tuples {(12,43),(54,28)}
map collection of tuples [open#apache]
Next TopicPig Example




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA