You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/04/26 12:07:59 UTC

[GitHub] [spark] lipzhu opened a new pull request #24472: [SPARK-27578][SQL]Add support for "interval '23:59:59' hour to second"

lipzhu opened a new pull request #24472: [SPARK-27578][SQL]Add support for "interval '23:59:59' hour to second"
URL: https://github.com/apache/spark/pull/24472
 
 
   ## What changes were proposed in this pull request?
   
   Currently, SparkSQL can support interval format like this. 
   ```sql
   select interval '5 23:59:59.155' day to second.
    ```
   This PR is used to add support grammar like below, just like what Teradata did.
   ```sql
   select interval '23:59:59.155' hour to second
   ```
   ## How was this patch tested?
   
   Unit 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:
users@infra.apache.org


With regards,
Apache Git Services

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