-
Notifications
You must be signed in to change notification settings - Fork 489
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
how to get the table names from BinaryOperationExpr of where clause #1291
Comments
you can take a look at type ColumnName Lines 558 to 569 in 94275e8
|
But this will cause many duplicate ColumnName to appear. Is there any way to reduce duplication? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Question
Hi.
i would like to parse a kind of query like:
and i got two
*ast.BinaryOperationExpr
of the where clausea.col3 = 1 and b.col4 = 5
. however, that expression only contained*ast.ColumnNameExpr
and*driver.ValueExpr
and ignored the*ast.TableSource
.may i know how to get the table names?
thanks
The text was updated successfully, but these errors were encountered: