Hi,
I am a newbie to Pentaho, so please bear my silly queries...
I created a simple transformation job to load data from a csv file to text file. So after running the job, I find large number of spaces in output, let me explain,
Input row,
100|James|987654|james@gmail.com|HR
Output row,
100;James ;987654;james@gmail.com ;HR
For integer values it comes fine... but for string, the whole thing gets messed up...
When setting up the input, I had given data length for integer as 10 and for string I assigned 100.
From my observation it seems that even the string is of length 5, it will add 95 spaces to keep it to 100 as specified. Am I right?
Now my questions,
How do I eliminate these spaces? They are hogging up the file size unnecessarily.
I am a newbie to Pentaho, so please bear my silly queries...
I created a simple transformation job to load data from a csv file to text file. So after running the job, I find large number of spaces in output, let me explain,
Input row,
100|James|987654|james@gmail.com|HR
Output row,
100;James ;987654;james@gmail.com ;HR
For integer values it comes fine... but for string, the whole thing gets messed up...
When setting up the input, I had given data length for integer as 10 and for string I assigned 100.
From my observation it seems that even the string is of length 5, it will add 95 spaces to keep it to 100 as specified. Am I right?
Now my questions,
How do I eliminate these spaces? They are hogging up the file size unnecessarily.