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

Add abs sum as an aggregator #1031

Merged
merged 1 commit into from
May 8, 2020
Merged

Conversation

harsh-jindal
Copy link
Contributor

Fixes #750

@finos-admin
Copy link
Member

Thank you for your contribution and Welcome to our Open Source Community!

To make sure your pull request is accepted successfully, we ask all our open source contributors to sign a Contributor License Agreement.

Having reviewed our contributor list, we require a CLA for the following people : (@harsh-jindal).

If you need help obtaining a CLA, please read the Requirements for Contributions section of our CLA wiki or email help@finos.org with your questions.

Thanks once again for your contribution. Let us work with you to make the CLA process quick, easy and efficient so we can move forward with reviewing and accepting your pull request.

cc @finos-admin

@texodus texodus self-requested a review May 1, 2020 03:24
@finos-admin
Copy link
Member

Thank you for your contribution and Welcome to our Open Source Community!

To make sure your pull request is accepted successfully, we ask all our open source contributors to sign a Contributor License Agreement.

Having reviewed our contributor list, we require a CLA for the following people : (@harsh-jindal).

If you need help obtaining a CLA, please read the Requirements for Contributions section of our CLA wiki or email help@finos.org with your questions.

Thanks once again for your contribution. Let us work with you to make the CLA process quick, easy and efficient so we can move forward with reviewing and accepting your pull request.

cc @finos-admin

Copy link
Member

@texodus texodus 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! This is a great start!

I think we can merge this as is! It's not quite a complete fix for #750 yet, as we still need a couple changes to finish this out:

  1. @finos/perspective-viewer Javascript module does not auto-export these enums from C++. This is just some technical debt from the project we have not addressed yet - there is no reason these values cannot be exported with some refactoring. However, as written, this new aggregate will not be available in the <perspective-viewer> web component! The available aggregates are grouped by type and set here.

  2. Tests! It's important for a project like Perspective to have good test coverage as its not really feasible to manually verify that functionality does not regress between releases. Here is a good example of what a single aggregate test looks like; you can run the test suite from your dev environment with yarn test detailed here.

I'm going to leave #750 open for now, but will merge this now. Thanks again for the great contribution!

@texodus texodus merged commit a4c28be into finos:master May 8, 2020
@raina02
Copy link

raina02 commented May 26, 2020

I am new to open source community, I would like to work on this if it is really open?

zepaz added a commit to zepaz/perspective that referenced this pull request Nov 4, 2020
Adding 2 tests for abs sum function, this fixes finos#1031
zepaz added a commit to zepaz/perspective that referenced this pull request Nov 4, 2020
Adding abs sum to <perspective-viewer>, this fixes finos#1031
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.

Feature request: Add abs sum as an aggregator
4 participants