Add support for map reduce statement