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

Properly encode STRING_AGG, NTH_VALUE in physical plan protobufs #9027

Merged
merged 2 commits into from
Jan 28, 2024

Conversation

scsmithr
Copy link
Contributor

Which issue does this PR close?

N/A

Rationale for this change

Attempting to encode physical plans with string_agg were erroring.

What changes are included in this PR?

Just adds in an extra downcast for encoding string_agg.

Are these changes tested?

Yes, added in a test for roundtripping.

Are there any user-facing changes?

Encoding physical plans with string_agg won't error now.

scsmithr added a commit to GlareDB/glaredb that referenced this pull request Jan 27, 2024
@alamb alamb changed the title Properly encode STRING_AGG in physical plan protobufs Properly encode STRING_AGG, NTH_VALUE in physical plan protobufs Jan 28, 2024
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @scsmithr -- looks great

@alamb alamb merged commit 51b8982 into apache:main Jan 28, 2024
23 checks passed
@alamb
Copy link
Contributor

alamb commented Jan 28, 2024

BTW for anyone following along, this also includes tests for #9028

@scsmithr scsmithr deleted the proto-string-agg branch January 28, 2024 14:46
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