[GitHub] [spark] srowen commented on a diff in pull request #38510: [MINOR][DOC] revisions for spark sql performance tuning to improve readability and grammar

2022-11-04 Thread GitBox


srowen commented on code in PR #38510:
URL: https://github.com/apache/spark/pull/38510#discussion_r1014525886


##
docs/sql-performance-tuning.md:
##
@@ -77,8 +77,8 @@ that these options will be deprecated in future release as 
more optimizations ar
 spark.sql.files.openCostInBytes
 4194304 (4 MB)
 
-  The estimated cost to open a file, measured by the number of bytes could 
be scanned in the same
-  time. This is used when putting multiple files into a partition. It is 
better to over-estimated,
+  The estimated cost to open a file, measured by the number of bytes could 
that be scanned in the same

Review Comment:
   One more - this should be "that could be"



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] srowen commented on a diff in pull request #38510: [MINOR][DOC] revisions for spark sql performance tuning to improve readability and grammar

2022-11-04 Thread GitBox


srowen commented on code in PR #38510:
URL: https://github.com/apache/spark/pull/38510#discussion_r1014421466


##
docs/sql-performance-tuning.md:
##
@@ -295,7 +294,7 @@ AQE converts sort-merge join to broadcast hash join when 
the runtime statistics
spark.sql.adaptive.autoBroadcastJoinThreshold
(none)

- Configures the maximum size in bytes for a table that will be 
broadcast to all worker nodes when performing a join. By setting this value to 
-1 broadcasting can be disabled. The default value is same with 
spark.sql.autoBroadcastJoinThreshold. Note that, this config is 
used only in adaptive framework.
+ Configures the maximum size in bytes for a table that will be 
broadcast to all worker nodes when performing a join. By setting this value to 
-1, broadcasting can be disabled. The default value is the same with 
spark.sql.autoBroadcastJoinThreshold. Note that, this config is 
used only in adaptive framework.

Review Comment:
   I'm not suggesting revert; it's a further change. "same with" isn't 
grammatical (either)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] [spark] srowen commented on a diff in pull request #38510: [MINOR][DOC] revisions for spark sql performance tuning to improve readability and grammar

2022-11-04 Thread GitBox


srowen commented on code in PR #38510:
URL: https://github.com/apache/spark/pull/38510#discussion_r1014417907


##
docs/sql-performance-tuning.md:
##
@@ -295,7 +294,7 @@ AQE converts sort-merge join to broadcast hash join when 
the runtime statistics
spark.sql.adaptive.autoBroadcastJoinThreshold
(none)

- Configures the maximum size in bytes for a table that will be 
broadcast to all worker nodes when performing a join. By setting this value to 
-1 broadcasting can be disabled. The default value is same with 
spark.sql.autoBroadcastJoinThreshold. Note that, this config is 
used only in adaptive framework.
+ Configures the maximum size in bytes for a table that will be 
broadcast to all worker nodes when performing a join. By setting this value to 
-1, broadcasting can be disabled. The default value is the same with 
spark.sql.autoBroadcastJoinThreshold. Note that, this config is 
used only in adaptive framework.

Review Comment:
   the same with -> the same as



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org