Closed paustint closed 1 year ago
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" ] } ]
Description
Date functions should have isAggregateFn set to true
As a result, the incorrect results are returned from
getFlattenedFields
.