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
Date functions should have isAggregateFn set to true
As a result, the incorrect results are returned from getFlattenedFields.
getFlattenedFields
SELECT HOUR_IN_DAY(CreatedDate), SUM(Amount) FROM Opportunity GROUP BY HOUR_IN_DAY(convertTimezone(CreatedDate))
[ { "name": "CreatedDate", "key": "CreatedDate", "cellClass": "slds-truncate", "resizable": true, "sortable": true, "width": 200, "filters": [ "TEXT", "SET" ] }, { "name": "expr0", "key": "expr0", "cellClass": "slds-truncate", "resizable": true, "sortable": true, "width": 200, "filters": [ "TEXT", "SET" ] } ]
The text was updated successfully, but these errors were encountered:
Ensure date functions are flagged as isAggregateFn
7f41956
Date functions are considered as aggregate functions from salesforce, so this fixes a bug to ensure we match behavior. resolves #228
Successfully merging a pull request may close this issue.
Description
Date functions should have isAggregateFn set to true
As a result, the incorrect results are returned from
getFlattenedFields
.The text was updated successfully, but these errors were encountered: