Description
The major issues here are the use of functional programming (.map, .foreach) and the creation of a new Row object for each output tuple. We should switch to while loops in the critical path and a single MutableRow per partition.
The major issues here are the use of functional programming (.map, .foreach) and the creation of a new Row object for each output tuple. We should switch to while loops in the critical path and a single MutableRow per partition.