Lua udf reduce function seems not excuted

See How do I debug the 'reduce()' operation of a stream UDF? and track it all the way through.