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

Error parsing SQLite statement containing operators. #519

Closed
relic-yuexi opened this issue Aug 14, 2024 · 2 comments
Closed

Error parsing SQLite statement containing operators. #519

relic-yuexi opened this issue Aug 14, 2024 · 2 comments

Comments

@relic-yuexi
Copy link

from sql_metadata import Parser

parser = Parser("select 老年人口占比 * 人口数量 from 城市 where 人口数量 = (select max(人口数量) from 城市)")

print(parser.columns)

print(parser.tables)

image

image

image

image

image

@MiuNice
Copy link
Contributor

MiuNice commented Aug 22, 2024

I submitted a PR on this issue, which can be used before the official release.
PR: #523 .

@macbre
Copy link
Owner

macbre commented Aug 24, 2024

Resolved by #523.

@macbre macbre closed this as completed Aug 24, 2024
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

3 participants