Friday, August 16, 2019

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
LongSigned 64 bit integer15L or 15l
Float32 bit floating point2.5f or 2.5F
Double32 bit floating point1.5 or 1.5e2 or 1.5E2
charArrayCharacter arrayhello javatpoint
byteArrayBLOB(Byte array)
tupleOrdered set of fields(12,43)
bagCollection f tuples{(12,43),(54,28)}
mapcollection of tuples[open#apache]

No comments:

Post a Comment

Lab 09: Publish and subscribe to Event Grid events

  Microsoft Azure user interface Given the dynamic nature of Microsoft cloud tools, you might experience Azure UI changes that occur after t...