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
Or in words: the state.id slot is set to whatever id is associated to the id of the first event on the Channel to be processed by vsh_toList. This is not predictable as the order is not guaranteed. As a consequence, the output filenames can be named differently. And even if the Channel is sorted, the output id would correspond to one of the incoming id's which is not ideal either.
A better approach would be to call the output id something like combined or all or something, but then Viash VDSL3 throws an exception about the input and output id's not matching. The proper way to resolve the matching error requires the proper setting of state._meta.join_id from the start of the workflow and handle it throughout. But in turns that requires an explicit map operator in the beginning to assign the join_id which is not ideal for a demonstration workflow.
My suggestion would be to allow VDSL3 to be in a loose mode so that input/output IDs are not matched.
The text was updated successfully, but these errors were encountered:
The
vsh_toList
operator is defined as such:Or in words: the
state.id
slot is set to whateverid
is associated to theid
of the first event on the Channel to be processed byvsh_toList
. This is not predictable as the order is not guaranteed. As a consequence, the output filenames can be named differently. And even if the Channel is sorted, the outputid
would correspond to one of the incomingid
's which is not ideal either.A better approach would be to call the output
id
something likecombined
orall
or something, but then Viash VDSL3 throws an exception about the input and outputid
's not matching. The proper way to resolve the matching error requires the proper setting ofstate._meta.join_id
from the start of the workflow and handle it throughout. But in turns that requires an explicitmap
operator in the beginning to assign thejoin_id
which is not ideal for a demonstration workflow.My suggestion would be to allow VDSL3 to be in a loose mode so that input/output IDs are not matched.
The text was updated successfully, but these errors were encountered: