[ https://issues.apache.org/jira/browse/SPARK-35130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=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