apache / apache/doris

[Bug] 4.1.2~4.1.3版本information_schema.`columns`表无法根据表名模糊查询表的字段,返回结果是错的

Open
#65,962 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
15.9k
Forks
3.9k
Avg merge
2d 23h
Merged PRs (30d)
520

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.

### Version

4.1.3

### What's Wrong?

Image
Image
4.1.2~4.1.3版本information_schema.`columns`表无法根据表名模糊查询表的字段,返回结果是错的

### What You Expected?

information_schema.`columns`表可以正常查询表的字段

### How to Reproduce?

_No response_

### Anything Else?

_No response_

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported fuzzy table-name query against information_schema.columns on versions 4.1.2 and 4.1.3, since no reproduction steps or code location are provided. Compare the returned fields with the expected table metadata, then locate the information_schema.columns query entry point and add a regression test. Done means fuzzy table-name queries return the correct columns.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.