generated from finos/software-project-blueprint
-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for TDS v2 (relation) groupBy in QueryBuilder (#3892)
* feat: Add roundtrip test for new groupBy * feat: Ensure ColSpec function2 is serialized * fix: Fix typo in QueryBuilderRelationProjectValueSpecBuilder * feat: Handle converting query builder state to typed groupBy protocol * feat: Start adding support to convert from relation protocol to aggregation state * feat: Support converting TDSv2 groupBy protocol to state and fix handling nested properties * fix: Fix test expected value * fix: Remove console.log statements * fix: Remove commented out code * fix: Fix copyright year * fix: Fix missing match function name * fix: Add changeset file * fix: Fix lint and copyright issues * feat: Add additional test cases to QueryRoundtripGrammar tests * refactor: Clean up V1_buildTypedGroupByFunctionExpression * feat: Remove unused set variable * fix: Tmp fix of expression genericType in V1_buildTypedGroupByFunctionExpression * feat: Add getNumericAggregateOperatorReturnType helper function * feat: Fix setting return type in V1_buildTypedGroupByFunctionExpression * feat: Use getNumericAggregateOperatorReturnType function in aggregate operators * feat: Clean up code in V1_QueryValueSpecificationBuilderHelper * feat: Clean up and add comments to buildRelationAggregation function * feat: Remove options param from buildRelationAggregation function * refactor: Update some variable names in V1_buildTypedGroupByFunctionExpression * refactor: Clean up and add comments to QueryBuilderTypedAggregationStateBuilder functions * feat: Add QueryBuilderLambdaRoundtrip test cases * fix: Remove extra param in function call * fix: Update changeset files * feat: Don't use getNumericAggregateOperatorReturnType function in operator classes * refactor: Update error message * refactor: Check for fully qualified function name in V1_buildGroupByFunctionExpression * feat: Make isTypedProjectionExpression check for fully qualified function name * feat: Make isTypedGroupByExpression check for fully qualified function name * refactor: Set groupBy() expression return type in processTypedAggregationColSpec function * refactor: Update comment * refactor: Update comment
- Loading branch information
1 parent
2fa1cbb
commit db7ebfb
Showing
18 changed files
with
1,177 additions
and
28 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@finos/legend-graph': patch | ||
--- | ||
|
||
Ensure function2 is handled in ColSpec ValueSpecification |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@finos/legend-query-builder': patch | ||
--- | ||
|
||
Add support for TDS v2 (relation) groupBy in QueryBuilder |
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
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.