Skip to content

Commit 713f3db

Browse files
committed
Modify docs
1 parent 79ade5d commit 713f3db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sql/core/src/test/scala/org/apache/spark/sql/execution/benchmark/InExpressionBenchmark.scala

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ import org.apache.spark.sql.types._
2626
/**
2727
* A benchmark that compares the performance of different ways to evaluate SQL IN expressions.
2828
*
29+
* Specifically, this class compares the if-based approach, which might iterate through all items
30+
* inside the IN value list, to other options with better worst-case time complexities (e.g., sets).
31+
*
2932
* To run this benchmark:
3033
* {{{
3134
* 1. without sbt: bin/spark-submit --class <this class> <spark sql test jar>

0 commit comments

Comments
 (0)