Add support for parsing user-defined type property access syntax#44
Merged
kyleconroy merged 1 commit intomainfrom Dec 23, 2025
Merged
Add support for parsing user-defined type property access syntax#44kyleconroy merged 1 commit intomainfrom
kyleconroy merged 1 commit intomainfrom
Conversation
Add support for parsing user-defined type property access syntax (e.g., t::a, (c1).SomeProperty) with optional COLLATE clause, and basic OVER clause support for window functions. Key changes: - Add UserDefinedTypePropertyAccess AST type for UDT property access - Add OverClause AST type to FunctionCall - Handle :: syntax for property access (not just method calls) - Parse chained property access via ExpressionCallTarget - Parse COLLATE clause on property access expressions - Parse ALL/DISTINCT modifiers in function calls - Add JSON marshaling for new types Enables tests: - Baselines100_ExpressionTests100 - ExpressionTests100
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add support for parsing user-defined type property access syntax (e.g., t::a, (c1).SomeProperty) with optional COLLATE clause, and basic OVER clause support for window functions.
Key changes:
Enables tests: