Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
Impala 1.2.4
-
None
-
None
Description
Right now, when a user mistype the table name, there's no warning or error. It can be improved.
There are few use cases for that:
1. The table was created in Hive. So, it doesn't exist in Impala yet. We want to load the metadata.
2. The table existed in Impala, but was dropped in Hive. We want to clear out the metadata.
3. The table might, or might not exist in Impala, but it was dropped in Hive. We want to clear out the metadata.
So, if the table doesn't exist in the hive metastore and it doesn't exist in impala's cache, then Impala should probably raise a warning or error. For usecase 3, you'll get an error, but I think it's acceptable.