Check for null in Hive History