Big Data - Apache Pig

Back to Course

Lesson Description

Lession - #463 Apache pig Data Types

Pig Latin Data type

Simple data type

Default datatype in Pig Latin

We can load the data utilizing datatypes or without data types in Pig Latin. On the off chance that we don't supply any datatypes the default datatype is bytearray.


grunt>tokens = FOREACH lines GENERATE flatten(TOKENIZE(line>
As token: chararray;