import error and no default value; data: <empty>, at o
Posted: Wed Jun 15, 2005 6:42 am
Sequential_File_0,0: Field "ANINTEGER" has import error and no default value; data: <empty>, at offset: 5
RKEY,varchar(10);ASTRING,varchar(10);ANINTEGER,int(10)
123||999
456||
789|aaa|
This error occurs in job:
SeqStage-->Peek
It appears that I am not allowed to have an empty string in an integer field. Anyone else come across this?
The only default it allows is an integer. So I guess I could change the empty string to 0 but thats not a true representation of what is coming from the source...or....do I just change all INT to VARCHAR and deal with it latter down the stream.
PX doesnt think its a NULL so all the NULL_HANDLING stuff goes out the window (been there done that).
Cant use ModifyStage or anything like that because it seems that this error occurs on import...before the data leaves the SeqStage
Comments?
RKEY,varchar(10);ASTRING,varchar(10);ANINTEGER,int(10)
123||999
456||
789|aaa|
This error occurs in job:
SeqStage-->Peek
It appears that I am not allowed to have an empty string in an integer field. Anyone else come across this?
The only default it allows is an integer. So I guess I could change the empty string to 0 but thats not a true representation of what is coming from the source...or....do I just change all INT to VARCHAR and deal with it latter down the stream.
PX doesnt think its a NULL so all the NULL_HANDLING stuff goes out the window (been there done that).
Cant use ModifyStage or anything like that because it seems that this error occurs on import...before the data leaves the SeqStage
Comments?