Improved Handling of External Table Inserts in HDFS

This change fixes an issue where emty file gets created when INSERT OVERWRITE is executed.

Before upgrade to CDP 7.1.1

When creating an EXTERNAL table and executing INSERT OVERWRITE, an empty file gets created in the HDFS storage location.

After upgrade to CDP 7.1.1

Starting with CDP Private Cloud Base 7.1.1, no empty files are created in the HDFS location when executing INSERT OVERWRITE on an external table because of a fix included in HIVE-22941.

This improvement, enhances Hive's performance, benefits other systems, and avoids the generation of small files in HDFS.