A Stream script does not have to read all of the input rows. Just like any otherSQL-MapReduce function, the script can exit before reading any or all of its input. If so, a log message is written to the SQL-MapReduce logs. For example:
[STREAM] Stream process exited before reading all of STDIN
The script does not throw any exception or error message.