I/O in processSource

#1

In the Analytic.c3typ documentation it says:
No I/O should be done in the process function itself

What are the implications of merging objects in processSource instead of returning them.
What if I want to create two different types of objects?

0 Likes

#2

That recommendation is for performance reasons. by returning objects to be updated, platform will do batch updates rather than single object update done in the processSource. avoid I/O of reading additional metrics/evaluations in processSource instead add them as additional DFEs for performance and scalability reasons.

0 Likes

#3

Thanks. What about the second part of the question: If I want to create/merge different types of objects.

0 Likes

#4

currently, it only allows to upsert defined Analytic output type. could be enhanced in future.

0 Likes