You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Attila Zsolt Piros (Jira)" <ji...@apache.org> on 2021/02/03 13:36:00 UTC
[jira] [Comment Edited] (SPARK-29391) Default year-month units
[ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org