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 Support for BloomFilterAggregate and BloomFilterMightContain exprs #891

Merged

Conversation

amahussein
Copy link
Collaborator

Signed-off-by: Ahmed Hussein (amahussein) a@ahussein.me

Contributes to #865

This PR adds support to two new expressions for the bloomFilter

  • Adds a new test case to check that the expressions are parsed correctly

Signed-off-by: Ahmed Hussein (amahussein) <a@ahussein.me>

Contributes to NVIDIA#865

This PR adds support to two new expressions for the bloomFilter
- Adds a new test case to check that the expressions are parsed
  correctly
@amahussein amahussein added bug Something isn't working core_tools Scope the core module (scala) labels Apr 1, 2024
@amahussein amahussein self-assigned this Apr 1, 2024
Signed-off-by: Ahmed Hussein (amahussein) <a@ahussein.me>
nartal1
nartal1 previously approved these changes Apr 1, 2024
Copy link
Collaborator

@nartal1 nartal1 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks @amahussein !

@@ -265,3 +265,5 @@ MapInPandasExec,1.2
WindowInPandasExec,1.2
RoundCeil,3.65
RoundFloor,3.65
BloomFilterMightContain,3.16
BloomFilterAggregate,3.16
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this 3.16 but other operator scores are 3.65?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good catch @cindyyuanjiang ! I fixed it.
That's a default value. So, it won't matter.
But you are right that it should match the change we do in other files to be consistent.

parthosa
parthosa previously approved these changes Apr 1, 2024
Copy link
Collaborator

@parthosa parthosa left a comment

Choose a reason for hiding this comment

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

Thanks @amahussein. LGTM

Copy link
Collaborator

@cindyyuanjiang cindyyuanjiang left a comment

Choose a reason for hiding this comment

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

Minor question for dataproc gke operator scores.

Signed-off-by: Ahmed Hussein (amahussein) <a@ahussein.me>
Copy link
Collaborator

@cindyyuanjiang cindyyuanjiang left a comment

Choose a reason for hiding this comment

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

Thanks @amahussein! LGTM

@amahussein amahussein merged commit 0e2c5e1 into NVIDIA:dev Apr 2, 2024
15 checks passed
@amahussein amahussein deleted the spark-rapids-tools-865-might_contain branch April 2, 2024 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core_tools Scope the core module (scala)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants