wForget commented on code in PR #57073:
URL: https://github.com/apache/spark/pull/57073#discussion_r3576596973


##########
docs/sql-ref-syntax-qry-select-hints.md:
##########
@@ -79,6 +84,10 @@ SELECT /*+ REBALANCE(c) */ * FROM t;
 
 SELECT /*+ REBALANCE(3, c) */ * FROM t;
 
+SELECT /*+ REBALANCE_BY_SIZE(134217728) */ * FROM t;
+
+SELECT /*+ REBALANCE_BY_SIZE(134217728, c) */ * FROM t;

Review Comment:
   > so it only accepts an integer as bytes, but does not accept a 
human-readable size literal? e.g., `256m`
   
   Yes, if it is a string, I cannot reliably distinguish whether it is a size 
literal or an attribute.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to