4paradigm / 4paradigm/OpenMLDB

sqlRouter.GetTableNames will return empty list even if the database does not exist

Open
#3,624 1 comment 0 reactions 1 assignee Claimed by @aceforeverd View on GitHub
bug sdk
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

**Bug Description**

image

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.