Enabling short circuit iteration on a stream of rows