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

Read existing SQL and add new expressions to it #2724

Closed
Kannedhara opened this issue Dec 27, 2023 · 1 comment
Closed

Read existing SQL and add new expressions to it #2724

Kannedhara opened this issue Dec 27, 2023 · 1 comment

Comments

@Kannedhara
Copy link

I have a sql statement which is in string format and I want to add join using .join() operator. how is it possible ?

query = 'select * from tableA'
query = parse_one(query).join('tableB', ....,)

or query = parse_one(query, into=exp.Select).join('tableB', .....,)

throws an error.

Any help ?

@tobymao
Copy link
Owner

tobymao commented Dec 27, 2023

can’t help without more detail. it should work.

@tobymao tobymao closed this as not planned Won't fix, can't repro, duplicate, stale Dec 27, 2023
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

2 participants