HIVE-9098: handle conditional task