cloud-fan commented 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=# create table z(i interval); CREATE TABLE 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: 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