HyukjinKwon opened a new pull request #25199: [SPARK-28389][SQL][FOLLOW-UP] Use 
one example in 'add_months' behavior change at migration guide
URL: https://github.com/apache/spark/pull/25199
 
 
   ## What changes were proposed in this pull request?
   
   This PR proposes to add one example to describe 'add_months'  behaviour 
change by https://github.com/apache/spark/pull/25153.
   
   *Spark 2.4:*
   
   ```sql
   select add_months(DATE'2019-02-28', 1)
   ```
   
   ```
   +--------------------------------+
   |add_months(DATE '2019-02-28', 1)|
   +--------------------------------+
   |                      2019-03-31|
   +--------------------------------+
   ```
   
   *Current master:*
   
   ```sql
   select add_months(DATE'2019-02-28', 1)
   ```
   
   ```
   +--------------------------------+
   |add_months(DATE '2019-02-28', 1)|
   +--------------------------------+
   |                      2019-03-28|
   +--------------------------------+
   ```
   
   ## How was this patch tested?
   
   Manually tested on Spark 2.4.1 and the current master.
   

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to