Hashfile Issues
Posted: Thu Mar 17, 2005 9:29 pm
Job design is like this
Folder--> XML Parser --> Hashfile1 ---> Transfomer---> Hashfile2.
I have defined the Hashfile2 with 3 keys and one of the keys is formulated as the concatenation of 10 fields. The issue that i am facing is whenever a xml tag is missing or if the value for a tag is null, the key forumulated by this filed is getting populated as null evenif I have mentioned the field not to be nullable.Can a key field of hashfile be null.
2 Dstage job design
Hashfile1 ------>
Transfomer-------> Hashfile3
Hashfile 2 ------>
In Hashfile1 is the primary link and the constraint specified in the transformer is (isnull(keycolumn in hashfile2). Hence I expected null values for fields in Hashfile3 which have the derivation from hashfile2. But this is not the case when the key column in hashfile1 is null.
Is this a expected result if the null values are not handled?
Folder--> XML Parser --> Hashfile1 ---> Transfomer---> Hashfile2.
I have defined the Hashfile2 with 3 keys and one of the keys is formulated as the concatenation of 10 fields. The issue that i am facing is whenever a xml tag is missing or if the value for a tag is null, the key forumulated by this filed is getting populated as null evenif I have mentioned the field not to be nullable.Can a key field of hashfile be null.
2 Dstage job design
Hashfile1 ------>
Transfomer-------> Hashfile3
Hashfile 2 ------>
In Hashfile1 is the primary link and the constraint specified in the transformer is (isnull(keycolumn in hashfile2). Hence I expected null values for fields in Hashfile3 which have the derivation from hashfile2. But this is not the case when the key column in hashfile1 is null.
Is this a expected result if the null values are not handled?