Description
Here is the reproduction:
set mapreduce.job.reduces=2; set hive.merge.tezfiles=true; INSERT OVERWRITE DIRECTORY 'output' stored as orcfile select age, avg(gpa) from student group by age;
Error message: File Merge Stage after Maps completion is considering input as "input format: org.apache.hadoop.mapred.TextInputFormat" instead of "org.apache.hadoop.hive.ql.io.orc.OrcInputFormat"