You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Wenchen Fan (Jira)" <ji...@apache.org> on 2019/12/11 17:12:00 UTC
[jira] [Resolved] (SPARK-29920) Parsing failure on interval '20 15'
day to hour
[ https://issues.apache.org/jira/browse/SPARK-29920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wenchen Fan resolved SPARK-29920.
---------------------------------
Fix Version/s: 3.0.0
Resolution: Fixed
Issue resolved by pull request 26473
[https://github.com/apache/spark/pull/26473]
> Parsing failure on interval '20 15' day to hour
> -----------------------------------------------
>
> Key: SPARK-29920
> URL: https://issues.apache.org/jira/browse/SPARK-29920
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 3.0.0
> Reporter: Maxim Gekk
> Assignee: Maxim Gekk
> Priority: Major
> Fix For: 3.0.0
>
>
> {code:sql}
> spark-sql> select interval '20 15' day to hour;
> Error in query:
> requirement failed: Interval string must match day-time format of 'd h:m:s.n': 20 15(line 1, pos 16)
> == SQL ==
> select interval '20 15' day to hour
> ----------------^^^
> {code}
--
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