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

Adding serialization for FrequencyTransState #330

Merged
merged 1 commit into from
Feb 4, 2022

Conversation

WireBaron
Copy link
Contributor

This change packages up the Datum serialization in datum_utils
and uses to serialize the trans state for frequency aggregates.

It also refactors the LocalAnyElement struct from frequency.rs
into it's own PgAnyElement under pg_any_element.rs.

@WireBaron WireBaron requested review from JLockerman and epgts January 24, 2022 17:34
This change packages up the Datum serialization in datum_utils and
uses it to serialize the trans state for frequency aggregates.  It
also adds combine functionality to the FrequencyTransState, which is
used to allow the freq_agg to be considered parallel safe by postgres.

It also refactors the LocalAnyElement struct from frequency.rs
into it's own PgAnyElement under pg_any_element.rs.
@WireBaron WireBaron force-pushed the br/frequency_serialization branch from 89cae02 to 2089ac0 Compare February 4, 2022 00:43
@WireBaron
Copy link
Contributor Author

bors r+

@bors
Copy link
Contributor

bors bot commented Feb 4, 2022

Build succeeded:

@bors bors bot merged commit d173aa7 into main Feb 4, 2022
@bors bors bot deleted the br/frequency_serialization branch February 4, 2022 01:24
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.

1 participant