-
Notifications
You must be signed in to change notification settings - Fork 625
[GLUTEN-12143][VL] Route bitmap_construct_agg to native Velox execution #12142
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
Changes from all commits
0836842
a8413de
15b7e64
2368a41
c677781
1297a33
67a14ee
63b3699
f017bbd
7bb2b18
4023e19
2d1497b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -90,6 +90,8 @@ class ClickHouseTestSettings extends BackendTestSettings { | |
| // Exception. | ||
| .exclude("column pruning - non-readable file") | ||
| enableSuite[GlutenBitmapExpressionsQuerySuite] | ||
| // bitmap_construct_agg is not supported natively in CH backend. | ||
| .excludeCH("bitmap_construct_agg routes to native") | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This one checks the native plan path, specifically added to test the native plan. Since for CH backend it runs on spark, this test fail in CH backend. |
||
| enableSuite[GlutenBitwiseExpressionsSuite] | ||
| enableSuite[GlutenBloomFilterAggregateQuerySuite] | ||
| .excludeCH("Test bloom_filter_agg and might_contain") | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow-up opportunity: register bitmap_or_agg (and bitmap_and_agg for Spark 4.1)
Problem:
bitmap_or_aggwas introduced in the same Spark 3.5 commit asbitmap_construct_agg, andbitmap_and_aggin Spark 4.1. If native Velox implementations exist for these, registering them together would avoid unnecessary columnar-to-row transitions when users combine bitmap functions in the same query stage.Investigation Needed: Confirm whether
bitmap_or_aggandbitmap_and_agghave native Velox implementations (look for registration incpp/velox/udf/or the Velox aggregate function registry). If yes, consider adding them in a follow-up PR:There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've Velox PR for bitmap_or_agg in review phase. Will add follow up PR for Gluten once Velox PR merges. Thanks!