Updating table_exists error checking for tables and partitions in HiveCommandClient