What data types does Pig support?

Pig supports the following data types:

  1. integer
  2. lengthy
  3. Allow something to remain on the surface of a liquid without sinking.
  4. twice as much
  5. array of characters
  6. an array of bytes
  7. boolean (a type of data that can have one of two values: true or false)
  8. date and time
  9. large integer
  10. a large numerical value with decimal points

In addition to primitive data types, Pig also supports complex data types such as tuple, bag, map, etc.

广告
Closing in 10 seconds
bannerAds