You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "copperybean (Jira)" <ji...@apache.org> on 2021/05/18 01:09:00 UTC
[jira] [Issue Comment Deleted] (SPARK-35130) Construct day-time
interval column from integral fields
[ https://issues.apache.org/jira/browse/SPARK-35130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
copperybean updated SPARK-35130:
--------------------------------
Comment: was deleted
(was: It has been supported by function make_interval already. For example:
{code:java}
SELECT make_interval(100, 11);
{code}
Which gives output like following:
{quote}100 years 11 months
{quote}
All parameters number from 1 to 7 are supported by function make_interval.)
> Construct day-time interval column from integral fields
> -------------------------------------------------------
>
> Key: SPARK-35130
> URL: https://issues.apache.org/jira/browse/SPARK-35130
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.2.0
> Reporter: Max Gekk
> Priority: Major
>
> Create new function similar to make_interval() (or extend the make_interval() function) which can construct DayTimeIntervalType values from day, hour, minute, second fields.
--
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