dtenedor opened a new pull request, #48270:
URL: https://github.com/apache/spark/pull/48270
### What changes were proposed in this pull request?
WIP
This PR adds SQL pipe syntax support for the JOIN operator.
For example:
```
create temporary view join_test_t1
as select * from values (1) as grouping(a);
create temporary view join_test_empty_table
as select a from join_test_t1 where false;
table join_test_t1
|> full outer join join_test_empty_table
on (join_test_t1.a = join_test_empty_table.a);
1 NULL
```
### Why are the changes needed?
The SQL pipe operator syntax will let users compose queries in a more
flexible fashion.
### Does this PR introduce _any_ user-facing change?
Yes, see above.
### How was this patch tested?
This PR adds a few unit test cases, but mostly relies on golden file test
coverage. I did this to make sure the answers are correct as this feature is
implemented and also so we can look at the analyzer output plans to ensure they
look right as well.
### Was this patch authored or co-authored using generative AI tooling?
No
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]