Home >> Big Data Hadoop >> Pig Data types in Big Data Hadoop

Pig Data types in Big Data Hadoop

S.N.           Data Type       Description         Example

---------------------------------------------------------------------

1   int                signed 32-bit integer.              : 10

2   long             signed 64-bit integer.               : 4L

3   float             signed 32-bit floating point.     : 6.5F

4   double         64-bit floating point.                 : 11.5

5   chararray     character array (string)             : coderaj

6   Bytearray     Byte array (blob).

7   Boolean       Boolean value.                          : true/ false.

8   Datetime      date-time.                                  : 1970-01-01T00:00:00.000+00:00

9   Biginteger    Java BigInteger.                         : 60708090709

10  Bigdecimal   Java BigDecimal                       : 185.98376256272893883

Post Your Comment

Next Questions
Pig Complex types
Pig Relational Operations
Pig Shell Commands
Pig Register jar
Pig Diagnostic Operators
Pig Group Operator
Pig Join Operator
Pig Group Operators
Pig Cogroup Operator
Pig Built-in functions(EVAL)
Pig Built-in functions
Pig Load &Store Function
Sqoop Prerequisites
Sqoop Installation
Sqoop Topics
What is Sqoop
Sqoop architecture
Sqoop Eval
Sqoop import command
Sqoop import table with columns
Sqoop incremental import
Sqoop import all tables
Sqoop export command
Sqoop import export key word
Sqoop Job

Copyright ©2022 coderraj.com. All Rights Reserved.