Github user HyukjinKwon commented on a diff in the pull request: https://github.com/apache/spark/pull/21252#discussion_r186739581 --- Diff: sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala --- @@ -1238,6 +1238,14 @@ object SQLConf { .booleanConf .createWithDefault(true) + val COMBINE_LIMIT_AFTER_SORT_THRESHOLD = + buildConf("spark.sql.execution.combineLimitAfterSortThreshold") + .internal() + .doc("In sql like 'select x from t order by y limit m', if m is under this threshold, " + --- End diff -- -> `SQL` and -> `'SELECT x FROM t ORDER BY y LIMIT m'` while we are here ..
--- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org