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

[Dev] Only emit ConstantVectors when scan_vector is invoked #8916

Merged
merged 4 commits into from
Sep 14, 2023

Conversation

Tishj
Copy link
Contributor

@Tishj Tishj commented Sep 13, 2023

In light of #8869 this makes revisions to #8250

The RLE scan code previously made its own calculation of whether constant vectors could be emitted, but it seems this is not given enough context to determine this.

So now we only emit constant vectors when the scan_vector callback is invoked, as opposed to scan_partial

@Tishj Tishj requested a review from Mytherin September 13, 2023 12:08
@github-actions github-actions bot marked this pull request as draft September 13, 2023 13:38
@Mytherin Mytherin marked this pull request as ready for review September 14, 2023 08:19
Copy link
Collaborator

@Mytherin Mytherin left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! LGTM

@Mytherin Mytherin merged commit 62c4399 into duckdb:main Sep 14, 2023
50 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.

None yet

2 participants