HIVE-4206 Sort merge join does not work for outer joins for 7 inputs
 HIVE 4521 Auto join conversion fails in certain cases (empty tables, empty partitions, no partitions)