Repository: spark Updated Branches: refs/heads/master 9d03ad910 -> 536d2adc1
[SPARK-9535][SQL][DOCS] Modify document for codegen. #7142 made codegen enabled by default so let's modify the corresponding documents. Closes #7142 Author: KaiXinXiaoLei <[email protected]> Author: Kousuke Saruta <[email protected]> Closes #7863 from sarutak/SPARK-9535 and squashes the following commits: 0884424 [Kousuke Saruta] Removed a line which mentioned about the effect of codegen enabled 3c11af0 [Kousuke Saruta] Merge branch 'sqlconfig' of https://github.com/KaiXinXiaoLei/spark into SPARK-9535 4ee531d [KaiXinXiaoLei] delete space 4cfd11d [KaiXinXiaoLei] change spark.sql.planner.externalSort d624cf8 [KaiXinXiaoLei] sql config is wrong Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/536d2adc Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/536d2adc Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/536d2adc Branch: refs/heads/master Commit: 536d2adc12c88ff67b5dde3dec998bcacef50fba Parents: 9d03ad9 Author: KaiXinXiaoLei <[email protected]> Authored: Sun Aug 2 20:04:21 2015 -0700 Committer: Reynold Xin <[email protected]> Committed: Sun Aug 2 20:04:21 2015 -0700 ---------------------------------------------------------------------- docs/sql-programming-guide.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/536d2adc/docs/sql-programming-guide.md ---------------------------------------------------------------------- diff --git a/docs/sql-programming-guide.md b/docs/sql-programming-guide.md index d31baa0..3ea77e8 100644 --- a/docs/sql-programming-guide.md +++ b/docs/sql-programming-guide.md @@ -1885,11 +1885,10 @@ that these options will be deprecated in future release as more optimizations ar </tr> <tr> <td><code>spark.sql.codegen</code></td> - <td>false</td> + <td>true</td> <td> When true, code will be dynamically generated at runtime for expression evaluation in a specific - query. For some queries with complicated expression this option can lead to significant speed-ups. - However, for simple queries this can actually slow down query execution. + query. For some queries with complicated expression this option can lead to significant speed-ups. </td> </tr> <tr> @@ -1901,7 +1900,7 @@ that these options will be deprecated in future release as more optimizations ar </tr> <tr> <td><code>spark.sql.planner.externalSort</code></td> - <td>false</td> + <td>true</td> <td> When true, performs sorts spilling to disk as needed otherwise sort each partition in memory. </td> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
