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

Support custom comparison in Map Aggregations #11124

Closed

Conversation

kevinwilfong
Copy link
Contributor

Summary:
Building on #11021 this adds support
for custom comparison functions provided by custom types in the map aggregations
map_agg and map_union.

Note that I did not add support in map_union_sum because it currently only supports
Maps with a fixed set of key types, and none of those provide custom comparisons.

Differential Revision: D63570186

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 27, 2024
Copy link

netlify bot commented Sep 27, 2024

Deploy Preview for meta-velox canceled.

Name Link
🔨 Latest commit c877703
🔍 Latest deploy log https://app.netlify.com/sites/meta-velox/deploys/66fae266ef2e750008878d9f

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63570186

@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63570186

kevinwilfong pushed a commit to kevinwilfong/velox that referenced this pull request Sep 30, 2024
Summary:
Pull Request resolved: facebookincubator#11124

Building on facebookincubator#11021 this adds support
for custom comparison functions provided by custom types in the map aggregations
map_agg and map_union.

Note that I did not add support in map_union_sum because it currently only supports
Maps with a fixed set of key types, and none of those provide custom comparisons.

Differential Revision: D63570186
Summary:
Pull Request resolved: facebookincubator#11124

Building on facebookincubator#11021 this adds support
for custom comparison functions provided by custom types in the map aggregations
map_agg and map_union.

Note that I did not add support in map_union_sum because it currently only supports
Maps with a fixed set of key types, and none of those provide custom comparisons.

Differential Revision: D63570186
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D63570186

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 6911494.

Copy link

Conbench analyzed the 1 benchmark run on commit 69114940.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details.

@facebook-github-bot
Copy link
Contributor

This pull request has been reverted by 813cfb8.

kevinwilfong pushed a commit to kevinwilfong/velox that referenced this pull request Oct 2, 2024
Summary:
This is a second attempt to land the changes in
facebookincubator#11124

The original description:
Building on facebookincubator#11021 this adds support
for custom comparison functions provided by custom types in the map aggregations
map_agg and map_union.

Note that I did not add support in map_union_sum because it currently only supports
Maps with a fixed set of key types, and none of those provide custom comparisons.

New context:
I landed this along with facebookincubator#11119 so it
got reverted along with it.  This particular change did not introduce any issues 
though.

Differential Revision: D63796041
kevinwilfong pushed a commit to kevinwilfong/velox that referenced this pull request Oct 2, 2024
…cubator#11155)

Summary:

This is a second attempt to land the changes in
facebookincubator#11124

The original description:
Building on facebookincubator#11021 this adds support
for custom comparison functions provided by custom types in the map aggregations
map_agg and map_union.

Note that I did not add support in map_union_sum because it currently only supports
Maps with a fixed set of key types, and none of those provide custom comparisons.

New context:
I landed this along with facebookincubator#11119 so it
got reverted along with it.  This particular change did not introduce any issues 
though.

Differential Revision: D63796041
kevinwilfong pushed a commit to kevinwilfong/velox that referenced this pull request Oct 2, 2024
…cubator#11155)

Summary:

This is a second attempt to land the changes in
facebookincubator#11124

The original description:
Building on facebookincubator#11021 this adds support
for custom comparison functions provided by custom types in the map aggregations
map_agg and map_union.

Note that I did not add support in map_union_sum because it currently only supports
Maps with a fixed set of key types, and none of those provide custom comparisons.

New context:
I landed this along with facebookincubator#11119 so it
got reverted along with it.  This particular change did not introduce any issues 
though.

Differential Revision: D63796041
facebook-github-bot pushed a commit that referenced this pull request Oct 4, 2024
Summary:
Pull Request resolved: #11155

This is a second attempt to land the changes in
#11124

The original description:
Building on #11021 this adds support
for custom comparison functions provided by custom types in the map aggregations
map_agg and map_union.

Note that I did not add support in map_union_sum because it currently only supports
Maps with a fixed set of key types, and none of those provide custom comparisons.

New context:
I landed this along with #11119 so it
got reverted along with it.  This particular change did not introduce any issues
though.

Reviewed By: xiaoxmeng

Differential Revision: D63796041

fbshipit-source-id: 06e7ed5e5f62e8671341c6b938429aa05b23c177
athmaja-n pushed a commit to athmaja-n/velox that referenced this pull request Jan 10, 2025
Summary:
Pull Request resolved: facebookincubator#11124

Building on facebookincubator#11021 this adds support
for custom comparison functions provided by custom types in the map aggregations
map_agg and map_union.

Note that I did not add support in map_union_sum because it currently only supports
Maps with a fixed set of key types, and none of those provide custom comparisons.

Reviewed By: xiaoxmeng

Differential Revision: D63570186

fbshipit-source-id: a1b11d851585486480ef31a1c7e0c3d6672ac1b1
athmaja-n pushed a commit to athmaja-n/velox that referenced this pull request Jan 10, 2025
…cubator#11155)

Summary:
Pull Request resolved: facebookincubator#11155

This is a second attempt to land the changes in
facebookincubator#11124

The original description:
Building on facebookincubator#11021 this adds support
for custom comparison functions provided by custom types in the map aggregations
map_agg and map_union.

Note that I did not add support in map_union_sum because it currently only supports
Maps with a fixed set of key types, and none of those provide custom comparisons.

New context:
I landed this along with facebookincubator#11119 so it
got reverted along with it.  This particular change did not introduce any issues
though.

Reviewed By: xiaoxmeng

Differential Revision: D63796041

fbshipit-source-id: 06e7ed5e5f62e8671341c6b938429aa05b23c177
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged Reverted
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants