Skip to content

Enhance the analysis API for the location of Join Criteria and source columns #714

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

Merged
merged 2 commits into from
Jul 25, 2024

Conversation

goldmedal
Copy link
Contributor

close #683
close #690

JoinCriteria Location

The location of the join criteria is the most left-side expression. Because of the limitation of trino parser, we can't dedicate the precision location of the join type syntax (ON or USING). For example:

SELECT * FROM a JOIN b ON a.a1 = b.b1

The location of the criteria is the location of a.a1.

@grieve54706 grieve54706 merged commit 8449442 into main Jul 25, 2024
9 checks passed
@grieve54706 grieve54706 deleted the feature/683-690-analysis branch July 25, 2024 02:38
grieve54706 pushed a commit that referenced this pull request Dec 13, 2024
… columns (#714)

* add node location for join criteria

* add source column for all expr sources
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants