[ https://issues.apache.org/jira/browse/BEAM-7692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17123339#comment-17123339 ]
SAILOKESH DIVI edited comment on BEAM-7692 at 6/2/20, 4:37 AM: --------------------------------------------------------------- This feature will be very helpful to assign index when reading data so that we can validate them for statistics was (Author: saidivi): This feature will be very helpful to assign index when reading data > Create a transform to assign an index when reading data from built in I/O > transforms > ------------------------------------------------------------------------------------ > > Key: BEAM-7692 > URL: https://issues.apache.org/jira/browse/BEAM-7692 > Project: Beam > Issue Type: New Feature > Components: io-ideas, io-java-text > Affects Versions: 2.13.0 > Reporter: SAILOKESH DIVI > Priority: P2 > Labels: beam > > As a beam user > when using any of the existing beams I/O transforms > I would like to add an index to each line read as part of the transform. > > As spark has zipWithIndex to assign an index when reading files with the beam > being abstraction layer for may runners. I would expect this feature should > be added to beam -- This message was sent by Atlassian Jira (v8.3.4#803005)