[jira] [Commented] (SPARK-35130) Construct day-time interval column from integral fields

2021-06-09 Thread copperybean (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-35130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17360484#comment-17360484
 ] 

copperybean commented on SPARK-35130:
-

Hi [~maxgekk], could you review this [link 
PR|https://github.com/apache/spark/pull/32601] please?

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-35130) Construct day-time interval column from integral fields

2021-06-03 Thread Hector Zhang (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-35130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17356990#comment-17356990
 ] 

Hector Zhang commented on SPARK-35130:
--

Hi, [~mrpowers], I'm sorry for creating a PR without notifying first, and are 
you still planning to work on this issue? I can close my PR if you are going to 
work on it.

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-35130) Construct day-time interval column from integral fields

2021-05-19 Thread Apache Spark (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-35130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17348064#comment-17348064
 ] 

Apache Spark commented on SPARK-35130:
--

User 'copperybean' has created a pull request for this issue:
https://github.com/apache/spark/pull/32601

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-35130) Construct day-time interval column from integral fields

2021-05-17 Thread copperybean (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-35130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17346515#comment-17346515
 ] 

copperybean commented on SPARK-35130:
-

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}

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org



[jira] [Commented] (SPARK-35130) Construct day-time interval column from integral fields

2021-04-18 Thread Max Gekk (Jira)


[ 
https://issues.apache.org/jira/browse/SPARK-35130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17324547#comment-17324547
 ] 

Max Gekk commented on SPARK-35130:
--

[~mrpowers] Would you like to work on this?

> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org