Skip to content

[SPARK-45564][SQL] Simplify 'DataFrameStatFunctions.bloomFilter' with 'BloomFilterAggregate' expression - #43391

Closed
zhengruifeng wants to merge 1 commit into
apache:masterfrom
zhengruifeng:sql_reimpl_stat_bloomFilter
Closed

zhengruifeng wants to merge 1 commit into
apache:masterfrom
zhengruifeng:sql_reimpl_stat_bloomFilter

Conversation

@zhengruifeng

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Simplify 'DataFrameStatFunctions.bloomFilter' function with 'BloomFilterAggregate' expression

Why are the changes needed?

existing implementation was based on RDD, and it can be simplified by dataframe operations

Does this PR introduce any user-facing change?

when the input parameters or datatypes are invalid, throw AnalysisException instead of IllegalArgumentException

How was this patch tested?

ci

Was this patch authored or co-authored using generative AI tooling?

no

@github-actions github-actions Bot added the SQL label Oct 17, 2023
@zhengruifeng zhengruifeng changed the title [SPARK-45564][SQL] Simplify 'DataFrameStatFunctions.bloomFilter' function with 'BloomFilterAggregate' expression [SPARK-45564][SQL] Simplify 'DataFrameStatFunctions.bloomFilter' with 'BloomFilterAggregate' expression Oct 17, 2023
@LuciferYang

Copy link
Copy Markdown
Contributor

cc @hvanhovell

@beliefer

Copy link
Copy Markdown
Contributor

cc @srowen @cloud-fan

@srowen srowen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If there's no behavior change other than the exception type, and its' not slower, seems fine.

@hvanhovell hvanhovell left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@srowen srowen closed this in 922844f Oct 17, 2023
@srowen

srowen commented Oct 17, 2023

Copy link
Copy Markdown
Member

Merged to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants