ueshin opened a new pull request #29195:
URL: https://github.com/apache/spark/pull/29195


   ### What changes were proposed in this pull request?
   
   This is a follow-up of #29138 which added overload `slice` function to 
accept `Column` for `start` and `length` in Scala.
   
   This PR is updating the equivalent Python function to accept `Column` as 
well.
   
   ### Why are the changes needed?
   
   Now that Scala version accepts `Column`, Python version should also accept 
it.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes, PySpark users will also be able to pass Column object to `start` and 
`length` parameter in `slice` function.
   
   ### How was this patch tested?
   
   Added tests.
   


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

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

Reply via email to