Schema File - Select few columns
Posted: Mon May 06, 2013 9:54 am
Hi,
I have a file like
col1, col2, col3,col4
1,2,3,4
2,3,4,5
3,4,5,6
Now i have requirement to load col1, col2,col3 values to one table and col1, col3, col4 to another table.
To acheive this, i have create two schema files, one with col1,col2,col3 and other wiht col1, col3,col4.
When i executed the job individually for two schema files, everytime i am getting all four columns. How can i restrict the job to select only required columns?
How can i perform any transformations like adding col3+col4 when i do not see any metadata in columns definitions?
What is the purpose of intact property and how should i use it?
I appreciate your responses.
I have a file like
col1, col2, col3,col4
1,2,3,4
2,3,4,5
3,4,5,6
Now i have requirement to load col1, col2,col3 values to one table and col1, col3, col4 to another table.
To acheive this, i have create two schema files, one with col1,col2,col3 and other wiht col1, col3,col4.
When i executed the job individually for two schema files, everytime i am getting all four columns. How can i restrict the job to select only required columns?
How can i perform any transformations like adding col3+col4 when i do not see any metadata in columns definitions?
What is the purpose of intact property and how should i use it?
I appreciate your responses.