Skip to content
New issue

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

Additional fixes for chaining functions in group by #163

Merged
merged 8 commits into from
Jan 3, 2024
Merged

Conversation

eXigentCoder
Copy link
Contributor

Previously the following would not work:

SELECT customerId,
              ROUND(sum(price),0) as roundSumPrice,
              sum(ROUND(price,0)) as sumRoundPrice
      FROM orders
      GROUP BY customerId
      ORDER BY customerId ASC

Specifically the 2nd column would throw an error but the 3rd would succed.
This PR adds support for the first case.

@eXigentCoder eXigentCoder merged commit 716b79f into main Jan 3, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants