[ https://issues.apache.org/jira/browse/SPARK-29391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17278006#comment-17278006 ]
Attila Zsolt Piros edited comment on SPARK-29391 at 2/3/21, 1:35 PM: --------------------------------------------------------------------- Closing this as PostgreSQL feature parity is not a requirement anymore and this syntax is not common in other databases. , was (Author: attilapiros): As PostgreSQL feature parity is not a requirement anymore and this syntax is not common in other databases. , > Default year-month units > ------------------------ > > Key: SPARK-29391 > URL: https://issues.apache.org/jira/browse/SPARK-29391 > Project: Spark > Issue Type: Sub-task > Components: SQL > Affects Versions: 3.0.0 > Reporter: Maxim Gekk > Priority: Major > > PostgreSQL can assume default year-month units by defaults: > {code} > maxim=# SELECT interval '1-2'; > interval > --------------- > 1 year 2 mons > {code} > but the same produces NULL in Spark: -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org