alibaba / alibaba/druid

SQL Parse SchemaStatVisitor getFunctions返回结果没有将表别名进行替换

Open
#3,980 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
28.2k
Forks
8.6k
PR merge metrics
No merged PRs in 30d

Description

如本地测试返回结果:
[from_unixtime(t.from_time, 'yyyyMMdd')]

Contributor guide

Open the contributing guide

Research direction

Reproduce the local SQL parsing case that returns [from_unixtime(t.from_time, 'yyyyMMdd')] and inspect SchemaStatVisitor.getFunctions, the entry point named in the issue. Determine the expected alias-replaced result from the failing case, then verify that getFunctions returns it consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.