cancel
Showing results for 
Search instead for 
Did you mean: 

Get and Set Collection Column Names

RichardLoughins
Level 4
Hi, Just looking to know if there is there an easy way to get the field names of one collection, and use these field names to set the column names for a second collection?  Manually entering the column names for the second collection is not an option. Thanks!
2 REPLIES 2

TomCirone
Level 6
The easiest way would probably be a calculation stage setting the 2nd collection equal to the first collection.  Then deleting all the rows from the second collection.

AndreyKudinov
Level 10
Or you can create code stage that would only copy column names, should be faster for large input collection