cloud-fan edited a comment on issue #26256: [SPARK-29605][SQL] Optimize string 
to interval casting
URL: https://github.com/apache/spark/pull/26256#issuecomment-546843471
 
 
   Yes it does allow in Spark now, but I'm asking if it's also allowed in 
others.
   
   I checked pgsql
   ```
   cloud0fan=# select 'interval 1 day'::interval;
   ERROR:  invalid input syntax for type interval: "interval 1 day"
   LINE 1: select 'interval 1 day'::interval;
                  ^
   cloud0fan=# select '1 day'::interval;
    interval 
   ----------
    1 day
   (1 row)
   ```
   
   Can you check more?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to