Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

determine last relevant keyword without considering ifnull() in the on clause #534

Open
k-sibyl opened this issue Dec 3, 2024 · 0 comments

Comments

@k-sibyl
Copy link

k-sibyl commented Dec 3, 2024

When i handled sql like below, 'b.col1' is recognized as a table name in Parser.tables:
sql:"from table1 a left join table2 b on ifnull(a.col1, '') = ifnull(b.col1, '')"
When I commented out the lines 989 and 990 of code in the picture, the above-mentioned problem was solved.:
parser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant