Guys,
Just a quick question. Can be pass hardcoded values in a modify stage? i do not want to use transformer for this as it kills in the performance.
Thanks.
Hardcoded value in Modify stage
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 197
- Joined: Sun Jul 15, 2007 11:45 pm
- Location: Prague
Re: Hardcoded value in Modify stage
Are you sure that "it kills the performance". My understanding is that transformers have come a long way in terms of their performance.
It would all depend on what you are trying to accomplish overall.
It would all depend on what you are trying to accomplish overall.
-
- Premium Member
- Posts: 197
- Joined: Sun Jul 15, 2007 11:45 pm
- Location: Prague
ummm well i have before that transformer i have around 40k rows/ sec being processed - I am just using the transformer to add a new column to the input metadata and assigning a default value to it ( no constraints or anything). and the out put drops to 3k rows / sec..... could'nt think of anything else so any clues?
p.s just for knowledge does it allow hardcoded values to be passed to a new added column in the output.. :D
p.s just for knowledge does it allow hardcoded values to be passed to a new added column in the output.. :D
Column Generator would be an appropriate stage to use for your task if you're trying to avoid a transformer. The Modify is largely meant for working with existing columns (KEEP, DROP, or create a new column from an existing column).
When you tried a transformer, what type did you use? Parallel transformer or BASIC Transformer? What was the derivation for your hardcoded value?
Regards,
When you tried a transformer, what type did you use? Parallel transformer or BASIC Transformer? What was the derivation for your hardcoded value?
Regards,
- james wiles
All generalizations are false, including this one - Mark Twain.
All generalizations are false, including this one - Mark Twain.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 197
- Joined: Sun Jul 15, 2007 11:45 pm
- Location: Prague