Replacing 3521878016 with 3521878016L to indicate that it is long should
work. By default it assumes that this number constant is a integer.

traffic = load 'traffic.txt' as (domain:chararray, subnet:long);
r = filter traffic by subnet == 3521878016L;

-Thejas


On 3/3/09 7:06 AM, "Tamir Kamara" <[email protected]> wrote:

> Hi,
> 
> I'm having trouble when trying to filter by a field that is defined as long
> and my desired value is also long.
> 
> For example:
> traffic = load 'traffic.txt' as (domain:chararray, subnet:long);
> r = filter traffic by subnet == 3521878016;
> 
> Will result in:
> ERROR 2999: Unexpected internal error. For input string: "3521878016"
> java.lang.NumberFormatException: For input string: "3521878016"
>     at
>

Reply via email to