HIVE-7816: handle conditional task