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.
From: souri datta [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 28, 2011 3:56 AM
To: [EMAIL PROTECTED]
Subject: max integer allowed?
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.