Description
Introduced in HIVE-15121. Context::getTempDirForPath tries to use temporary MR directory instead of blobstore directory in three cases:
if (!isFinalJob && BlobStorageUtils.areOptimizationsEnabled(conf)) {
while the only valid case for using a temporary MR dir is when optimization is enabled and the job is not final:
if (BlobStorageUtils.areOptimizationsEnabled(conf) && !isFinalJob) {