-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEAT] Add struct get syntactic sugar (#2367)
Adds the ability to query struct and map fields by using the dot syntax, such as `col("a.b")` turning into `col("a").struct.get("b")`. This PR also includes a minor refactor of agg expression checking and extraction, just moving it out of the builder and into the `resolve_expr` and `resolve_aggexpr` functions that also deal with the syntactic sugar. I changed this since we were talking about how brittle it would be to do the syntactic sugar conversion in the builder and realized that it applies to aggregations too.
- Loading branch information
1 parent
7422f2f
commit 50d9b80
Showing
22 changed files
with
479 additions
and
228 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.