My Job:
Seq_File---->Transformer--------->Seq_File
I'm using Schema file to define table definiton in the source. Assume we have columns A,B,C... in source. If i want to read any one column explicitly in Transformer, how can i do that? Pls help me...
Schema file
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 4
- Joined: Wed Jan 16, 2008 6:38 am
Schema file
Regards,
Kumar
Kumar
-
- Charter Member
- Posts: 822
- Joined: Sat Sep 17, 2005 5:25 pm
- Location: USA
If you mean to drop the other two columns then simply delete those columns from the transformer output tab or even better method will be to use modify stage to drop the columns. I hope you are not asking this....
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
Thomas Alva Edison(1847-1931)
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 4
- Joined: Wed Jan 16, 2008 6:38 am
Hi Ray/us1aslam1us,
Thanks for quick reply.
us1aslam1us,
I'm not trying to drop any column, infact i'm trying do some transformation with input columns.
Ray,
Your view is correct, but if i use Schema file then i dont have option to explicitly name the columns in stage input link, becuause schema file will override the column and format tab. I think u r getting my point?
Thanks for quick reply.
us1aslam1us,
I'm not trying to drop any column, infact i'm trying do some transformation with input columns.
Ray,
Your view is correct, but if i use Schema file then i dont have option to explicitly name the columns in stage input link, becuause schema file will override the column and format tab. I think u r getting my point?
Regards,
Kumar
Kumar
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: