Hi all,
I'm Carmelo Badalamenti, and I'm working with Pig with great satisfaction :)
I have a problem, indeed...
I Load a file into pig script like this:
raw = LOAD 'filename' USING PigStorage(',') AS
(fe:int,ts:chararray,time,uid,panel,set,type,[...cut...],invalid,f,g,h)
;
As you can see I specify only sometimes the type of var. Doing this I
have this warning:
[main] WARN
org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher
- Encountered Warning ACCESSING_NON_EXISTENT_FIELD 580 time(s).
Instead if I specify no types (for instance, like this: raw = LOAD
'filename' USING PigStorage(',') AS
(fe,ts,time,uid,panel,set,type,[...cut...],invalid,f,g,h) ; )
I don't notice any warning.
The problem is I need to specify at least the "chararray" cast because
I wrote several user-defined-function that needs it...
How I can solve this problem?
Thanks in advance...
Carmelo
--
---------------------------------------------------------------------------------------------------
Carmelo Badalamenti
aka RollsAppleTree
mail: [email protected]
---------------------------------------------------------------------------------------------------