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

Fix COUNT(*) ERROR for PDF SELECT Queries #1376

Merged
merged 5 commits into from
Nov 22, 2023

Conversation

jkim3663
Copy link
Contributor

#1170

COUNT(*) did not work with GROUP BY, while COUNT(column_name), or COUNT(SEGMENT(sth)) worked with group by.
The issue was due to wrong column name assingment while creating a tuple value expression.

I added a test case and a sample pdf that is same as the one from the issue.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋 Hello @jkim3663, thanks for submitting a EVA DB PR 🙏 To allow your work to be integrated as seamlessly as possible, we advise you to:

  • ✅ Verify that your PR is up-to-date with georgia-tech-db/eva master branch. If your PR is behind you can update your code by clicking the 'Update branch' button or by running git pull and git merge master locally.
  • ✅ Verify that all EVA DB Continuous Integration (CI) checks are passing.
  • ✅ Reduce changes to the absolute minimum required for your bug fix or feature addition.

@jkim3663 jkim3663 changed the title 1170 count issue Fix COUNT(*) ERROR when ran with GROUP BY Nov 20, 2023
@xzdandy xzdandy added the Bug 🐞 EVA is not working as expected label Nov 21, 2023
@xzdandy xzdandy linked an issue Nov 21, 2023 that may be closed by this pull request
2 tasks
Copy link
Collaborator

@xzdandy xzdandy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job. Thanks for fixing the COUNT(*)!

@jkim3663 jkim3663 changed the title Fix COUNT(*) ERROR when ran with GROUP BY Fix COUNT(*) ERROR for PDF SELECT Queries Nov 21, 2023
@xzdandy xzdandy merged commit 3d0b647 into georgia-tech-db:staging Nov 22, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug 🐞 EVA is not working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

COUNT(*) does not work as expected
2 participants