HIVE-8027: CBO: Bail out for LV, Unique Joins, PTF, TF…, Add annotations to UDFs (Laljo John Pullokkaran via Gunther Hagleitner)