I would like to split a data set into multiple data set of 1000 rows and how is it possible?
The Node row splitter has only two output . Let me know if there is any way to use java snippet for this requirement.
I would like to split a data set into multiple data set of 1000 rows and how is it possible?
The Node row splitter has only two output . Let me know if there is any way to use java snippet for this requirement.
尚未完全指定您要如何拆分表,但有两种循环类型可以满足您的需求:块循环(开始)或组循环(开始)。您的工作流程可能如下所示:
[(Chunk/Group) Loop Start] --> Your processing nodes of the selected rows --> [Loop End]
在该部分中Your processing nodes of the selected rows
,您只会看到您需要的拆分部分。
两个节点的区别如下:Chunk Loop Start 节点按位置将行收集到一个组中(同一组的连续节点部分,直到消耗了请求的行数),而 Group Loop Start 收集行具有相同属性的同一个集合进行处理。(根据您的处理要求,Loop End 节点可能不是最合适的,在这种情况下,请查找其他 Loop End 节点。)
如果这些还不够,您可以尝试并行块循环节点,或者我记得在某些扩展中也有装袋、集成和交叉验证(X-Validation)节点。(对于更复杂的工作流程,您还可以使用递归循环。)对于功能消除,您还可以找到支持。