HIVE-7431: don't cache map work for spark mode