You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way i can link multiple vUdf function calls on the same DataFrame partitions with different parameters ?
Ideally i would need to replicate something like example below where px, and cy are different parameters that i'm passing.
So idea is to reuse the same partitions, and have all this functions as a separate tasks.
the problem that i'm facing now with passing all parameters together in one call, is that potentially i can end with a lot of output rows, so just trying to break it down somehow. And yes, in order to do this calc correctly i need to do it on particular cEntity level.
var results = scope.GroupBy(Column("cEntity")).Apply(OutputSchema,
records => Calculator.DoWork(records, p1, c1),
records => Calculator.DoWork(records, p2, c2),
records => Calculator.DoWork(records, p3, c3)....);
This discussion was converted from issue #648 on December 11, 2020 03:43.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi ,
Is there a way i can link multiple vUdf function calls on the same DataFrame partitions with different parameters ?
Ideally i would need to replicate something like example below where px, and cy are different parameters that i'm passing.
So idea is to reuse the same partitions, and have all this functions as a separate tasks.
the problem that i'm facing now with passing all parameters together in one call, is that potentially i can end with a lot of output rows, so just trying to break it down somehow. And yes, in order to do this calc correctly i need to do it on particular cEntity level.
Thanks,
Aleks
Beta Was this translation helpful? Give feedback.
All reactions