Clean up input temp table when finishing execution if possible

This code does not need to be in so many places. Just put it in AbstractExecutor::execute after the call to p_execute.
Have it iterate over the 1 or 2 input table(s). If there is any executor where this code would actually be dangerous, you can make this function virtual and define it as an empty override in that executor.