Kimahriman commented on PR #37616:
URL: https://github.com/apache/spark/pull/37616#issuecomment-1399596763

   Came across this wanting to test out the `rebalance` hint in pyspark (since 
it looks like rebalance can only be used as a hint right now). Does it make 
more sense to support strings directly in the `ResolveHints`? It is pretty 
awkward that SQL hints get interpreted as expressions, but DataFrame hints 
don't. It's definitely awkward having to use `$"col".expr` even on the Scala 
side. And in `ResolveHints` it already supports the number of partitions either 
being an Literal or an integer


-- 
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