zhengruifeng opened a new pull request, #42794: URL: https://github.com/apache/spark/pull/42794
### What changes were proposed in this pull request? Make function `repeat` accept column-type `n` ### Why are the changes needed? 1. to follow this guide: https://github.com/apache/spark/blob/5b609598503df603cbddd5e1adf8d2cb28a5f977/sql/core/src/main/scala/org/apache/spark/sql/functions.scala#L60-L62 2. especially, can replace [the internal function](https://github.com/apache/spark/blob/17fac569b4e4b569d41f761db07d7bf112801e0c/python/pyspark/pandas/spark/functions.py#L138-L143) (to make the PR clean, I will replace it in separate PR) ### Does this PR introduce _any_ user-facing change? yes ### How was this patch tested? NO ### Was this patch authored or co-authored using generative AI tooling? NO -- 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]
