oldname<tab>newname
awchisholm wrote:If you want a quick and dirty hack, I successfully used the de-obfuscate operator to rename columns. Provide an obfuscation map file containing a row for each attribute you want to rename in the following form: oldname<tab>newname The tab is important; spaces cause an error.Ugly but effective.regards,Andrew
<?xml version="1.0" encoding="UTF-8" standalone="no"?><process version="5.0"> <context> <input/> <output/> <macros/> </context> <operator activated="true" class="process" expanded="true" name="Process"> <process expanded="true" height="161" width="480"> <operator activated="true" class="generate_data" expanded="true" height="60" name="Generate Data" width="90" x="112" y="75"/> <operator activated="true" class="de_obfuscate" expanded="true" height="76" name="rename" width="90" x="380" y="75"> <parameter key="obfuscation_map_file" value="c:\temp\att.txt"/> </operator> <connect from_op="Generate Data" from_port="output" to_op="rename" to_port="example set input"/> <connect from_op="rename" from_port="example set output" to_port="result 1"/> <portSpacing port="source_input 1" spacing="0"/> <portSpacing port="sink_result 1" spacing="0"/> <portSpacing port="sink_result 2" spacing="0"/> </process> </operator></process>
att1 appleatt2 bananaatt3 pearatt4 grapeatt5 orange