in the current codebase, in the test-driver, when Next() is called, it goes through every row, and copies the row to dest..
for example, let's say these are the rows:
north, 23
east, 33
south, 41
Next() will first copy north, 23 into dest, then will overwrite it with east, 33, then will overwrite it with south, 41.
so when it all ends, the dataframe will look like this:
fields: [ [south, south, south], [41, 41, 41] ]
the PR adjusts the code so it only copies the row at the right index.
in the current codebase, in the test-driver, when
Next()
is called, it goes through every row, and copies the row todest
..for example, let's say these are the rows:
Next()
will first copynorth, 23
intodest
, then will overwrite it witheast, 33
, then will overwrite it withsouth, 41
. so when it all ends, the dataframe will look like this:fields: [ [south, south, south], [41, 41, 41] ]
the PR adjusts the code so it only copies the row at the right index.