HIVE-6956 : Duplicate partitioning column for union when dynamic partition sort optimization is enabled (Prasanth J via Ashutosh Chauhan)