We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example code:
public class MyClassA3 { private List<AggregateResult> getDefects() { AggregateResult[] defects = [ SELECT OBJ1__c O1, OBJ2__c O2, OBJ3__c O3, SUM(OBJ4__c) O4, GROUPING(OBJ1__c) O1Group, GROUPING(OBJ2__c) O2Group, GROUPING(OBJ3__c) O3Group FROM OBJ4__c GROUP BY ROLLUP(OBJ1__c, OBJ2__c, OBJ3__c) ]; return defects; } }
This fails to parse, as GROUPING is not supported by the grammar:
apex-parser/antlr/ApexParser.g4
Lines 614 to 639 in fee3a16
sf doc: https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_grouping.htm
Original issue: pmd/pmd#5182
The text was updated successfully, but these errors were encountered:
3ae515f
Thank you for the contribution! Now released in version 4.2.0
4.2.0
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Example code:
This fails to parse, as GROUPING is not supported by the grammar:
apex-parser/antlr/ApexParser.g4
Lines 614 to 639 in fee3a16
sf doc: https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_grouping.htm
Original issue: pmd/pmd#5182
The text was updated successfully, but these errors were encountered: