Uh oh!
There was an error while loading. Please reload this page.
[SPARK-42664][CONNECT] Support bloomFilter function for DataFrameStatFunctions - #40352
[SPARK-42664][CONNECT] Support bloomFilter function for DataFrameStatFunctions#40352LuciferYang wants to merge 47 commits into
bloomFilter function for DataFrameStatFunctions#40352Conversation
Uh oh!
There was an error while loading. Please reload this page.
bloomFilter function for DataFrameStatFunctionsbloomFilter function for DataFrameStatFunctionsUh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| numBits: Long, | ||
| fpp: Double): BloomFilter = { | ||
| val dataType = sparkSession |
There was a problem hiding this comment.
Add this due to:
- check
colsupport type in server side - Add
Castfor IntegerType/ShortType/ByteType
There was a problem hiding this comment.
Can we use the TypeOf expression for this instead? Alternatively we can try to figure this out in the planner.
Uh oh!
There was an error while loading. Please reload this page.
bloomFilter function for DataFrameStatFunctionsbloomFilter function for DataFrameStatFunctionsUh oh!
There was an error while loading. Please reload this page.
LuciferYang
commented
Apr 7, 2023
In the last commit, make |
LuciferYang
commented
Apr 7, 2023
GA failure is not related to the current PR |
| numBits: Long, | ||
| fpp: Double): BloomFilter = { | ||
| val agg = if (!fpp.isNaN) { |
There was a problem hiding this comment.
Before chanage to always pass 3 parameters, always pass all 4 parameters.
Now change to pass (col, expectedNumItems, fpp) if !fpp. isNaN , otherwise pass (col, expectedNumItems, numBits).
hvanhovell
commented
Aug 9, 2023
@LuciferYang can we restart this effort. I promise I will look at the proto PR :) |
LuciferYang
commented
Aug 9, 2023
This pr has been rebased many times, should I submit a new one... |
LuciferYang
commented
Aug 9, 2023
I make a clean one #42414 |
What changes were proposed in this pull request?
This is pr using
BloomFilterAggregateto implementbloomFilterfunction forDataFrameStatFunctions.Why are the changes needed?
Add Spark connect jvm client api coverage.
Does this PR introduce any user-facing change?
No
How was this patch tested?