[Bug] When using the Hive catalog, after deleting the table directory, it is no longer possible to drop the table
- Dominant language
- Java
- Stars
- 3.4k
- Forks
- 1.4k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 396
Description
### Minimal reproduce step
1. using hive catalog
2. create table
3. delete table in file system
4. drop table (it is no longer possible to drop the table in hms)
This is because the DROP TABLE command checks whether the table exists fisrtly, and we determine the table's existence based on whether it exists in the filesystem.
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the Hive catalog sequence: create a table, delete its filesystem directory, then run DROP TABLE. Trace the DROP TABLE existence check and compare filesystem presence with the Hive metastore entry; done means a table whose directory was deleted can still be dropped from HMS, with regression coverage for this sequence.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100