Re: PIG behavior changed between 0.8.1 and 0.9.x ?

2011-08-30 Thread Daniel Dai
Interesting, the log message seems to be clear, "Cannot convert (1239698069000,) to null:(timestamp:long,name:chararray)", but I cannot find an explanation to that. I verified such conversion should be valid on 0.9. Can you show me the script? Daniel On Tue, Aug 30, 2011 at 5:14 AM, Vincent Barat

Re: PIG behavior changed between 0.8.1 and 0.9.x ?

2011-08-30 Thread Vincent Barat
Hi, I have experienced the same issue by loading the data from raw text files (using PIG server in local mode and the regular PIG loader) and from HBaseStorage. The issue is exactly the same in both cases: each time a NULL string is encountered, the cast to a data bag cannot be done. Le 29/0

Re: PIG behavior changed between 0.8.1 and 0.9.x ?

2011-08-29 Thread Dmitriy Ryaboy
How are you loading this data? D On Mon, Aug 29, 2011 at 8:05 AM, Vincent Barat wrote: > I'm currently testing PIG 0.9.x branch. > Several of my jobs that use to work correctly with PIG 0.8.1 now fail due > to a cast error returning a null pointer in one of my UDF function. > > Apparently, PIG s

PIG behavior changed between 0.8.1 and 0.9.x ?

2011-08-29 Thread Vincent Barat
I'm currently testing PIG 0.9.x branch. Several of my jobs that use to work correctly with PIG 0.8.1 now fail due to a cast error returning a null pointer in one of my UDF function. Apparently, PIG seems to be unable to convert some data to a bag when some of the tuple fields are null: 2011