GitHub user aditkumar opened a pull request: https://github.com/apache/spark/pull/20787
Documenting months_between direction ## What changes were proposed in this pull request? It's useful to know what relationship between date1 and date2 result in a positive number. You can merge this pull request into a Git repository by running: $ git pull https://github.com/aditkumar/spark master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20787.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #20787 ---- commit de207321717c607eccb280aa0b77b3393ef4a04b Author: aditkumar <aditkumar@...> Date: 2018-03-09T16:08:38Z Date direction in months_between pyspark commit 5f8a23fea197d60f870177ed3272154eab60bca9 Author: aditkumar <aditkumar@...> Date: 2018-03-09T16:11:15Z datediff direction in months_between commit 1f5c543cf8e03b32691bbe477b09c4bce02e6f4d Author: aditkumar <aditkumar@...> Date: 2018-03-09T16:16:01Z date direction in months_between ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org