4paradigm / 4paradigm/OpenMLDB
sqlRouter.GetTableNames will return empty list even if the database does not exist
Open
bug
sdk
- Dominant language
- C++
- Stars
- 1.7k
- Forks
- 331
- Avg merge
- 12d 12h
- Merged PRs (30d)
- 1
Description
**Bug Description**
Contributor guide
Research direction
The issue mentions sqlRouter.GetTableNames returning an empty list when a database does not exist. Look for the sqlRouter implementation in the codebase, likely in a router or SQL handling module. Examine the GetTableNames method to understand its error handling and database existence checks. The fix likely involves adding a validation step before returning the table list.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- sql
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100