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

[BUG] Aggregate Node creates new metadata for each chunk #179

Closed
gva-jjoyce opened this issue Jun 10, 2022 · 1 comment
Closed

[BUG] Aggregate Node creates new metadata for each chunk #179

gva-jjoyce opened this issue Jun 10, 2022 · 1 comment
Assignees
Labels
Awaiting Closure Fixed - waiting for merging/releasing Bug 🪲 Something isn't working

Comments

@gva-jjoyce
Copy link
Contributor

Describe the bug
Anything that processes results from a GROUP BY that goes across pages will have an inconsistent set of columns because the aggregate node creates new metadata for each page, see line 271.

This can be seen in queries which SELECT, WHERE or otherwise access columns what are the result of a GROUP BY.

To resolve, the metadata should be created one and saved to each page, similar to the mechanism used in the blob reader.

@joocer
Copy link
Contributor

joocer commented Jun 10, 2022

can replicate with new (unreleased) FAKE constructor

SELECT count(*), column_1 FROM FAKE(10000,2) GROUP BY column_1 ORDER BY COUNT(*)

@joocer joocer added the Awaiting Closure Fixed - waiting for merging/releasing label Jun 10, 2022
joocer added a commit that referenced this issue Jun 10, 2022
joocer added a commit that referenced this issue Jun 10, 2022
@joocer joocer closed this as completed Jun 10, 2022
joocer added a commit that referenced this issue Jun 10, 2022
joocer added a commit that referenced this issue Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Closure Fixed - waiting for merging/releasing Bug 🪲 Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants