From 64e527215831b3858e8ea6622862654965cdc9ba Mon Sep 17 00:00:00 2001 From: Uros Bojanic <221401595+uros-b@users.noreply.github.com> Date: Sat, 8 Aug 2026 09:46:21 +0000 Subject: [PATCH] Initial commit --- .../apache/spark/sql/DataFrameStatFunctions.scala | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/sql/api/src/main/scala/org/apache/spark/sql/DataFrameStatFunctions.scala b/sql/api/src/main/scala/org/apache/spark/sql/DataFrameStatFunctions.scala index d6d3a19edc168..8d13ffea55c15 100644 --- a/sql/api/src/main/scala/org/apache/spark/sql/DataFrameStatFunctions.scala +++ b/sql/api/src/main/scala/org/apache/spark/sql/DataFrameStatFunctions.scala @@ -489,7 +489,7 @@ abstract class DataFrameStatFunctions { * @param seed * random seed * @return - * a `CountMinSketch` over column `colName` + * a `CountMinSketch` over column `col` * @since 2.0.0 */ def countMinSketch(col: Column, depth: Int, width: Int, seed: Int): CountMinSketch = { @@ -510,7 +510,7 @@ abstract class DataFrameStatFunctions { * @param seed * random seed * @return - * a `CountMinSketch` over column `colName` + * a `CountMinSketch` over column `col` * @since 2.0.0 */ def countMinSketch(col: Column, eps: Double, confidence: Double, seed: Int): CountMinSketch = @@ -529,6 +529,8 @@ abstract class DataFrameStatFunctions { * expected number of items which will be put into the filter. * @param fpp * expected false positive probability of the filter. + * @return + * a `BloomFilter` over column `colName` * @since 2.0.0 */ def bloomFilter(colName: String, expectedNumItems: Long, fpp: Double): BloomFilter = { @@ -544,6 +546,8 @@ abstract class DataFrameStatFunctions { * expected number of items which will be put into the filter. * @param fpp * expected false positive probability of the filter. + * @return + * a `BloomFilter` over column `col` * @since 2.0.0 */ def bloomFilter(col: Column, expectedNumItems: Long, fpp: Double): BloomFilter = { @@ -560,6 +564,8 @@ abstract class DataFrameStatFunctions { * expected number of items which will be put into the filter. * @param numBits * expected number of bits of the filter. + * @return + * a `BloomFilter` over column `colName` * @since 2.0.0 */ def bloomFilter(colName: String, expectedNumItems: Long, numBits: Long): BloomFilter = { @@ -575,6 +581,8 @@ abstract class DataFrameStatFunctions { * expected number of items which will be put into the filter. * @param numBits * expected number of bits of the filter. + * @return + * a `BloomFilter` over column `col` * @since 2.0.0 */ def bloomFilter(col: Column, expectedNumItems: Long, numBits: Long): BloomFilter = withOrigin {