Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> max integer allowed?

Copy link to this message
RE: max integer allowed?
Pig internally uses java integer to store integer value, so Integer.MAX_VALUE should be max value you can put for an integer in the script.

As a side note, Pig has long type as well.


-----Original Message-----
From: souri datta [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 28, 2011 3:56 AM
Subject: max integer allowed?

Hi All,
Could not find any proper documentation for it.Can someone please let me know what is the maximum integer supported in Pig scripts? (something like

Will it be version dependent?
 I found this link
and used this max. value in a pig script and it worked.But want to confirm.