Skip to content

getFlattenedFields does not return accurate resulte when nested aggregate function #157

@paustint

Description

@paustint
  • Feature
  • Bug

Description

If an aggregate function is nested within a FORMAT() call, getFlattenedFields does not return the correct field value.

SELECT COUNT(Id), FORMAT(MAX(CreatedDate)), Email
FROM Contact
GROUP BY Email
HAVING COUNT(Id) >= 0

CreatedDate is returned when it should actually be expr1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions