[
https://issues.apache.org/jira/browse/SPARK-35840?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Max Gekk resolved SPARK-35840.
------------------------------
Fix Version/s: 3.2.0
Resolution: Fixed
Issue resolved by pull request 32997
[https://github.com/apache/spark/pull/32997]
> Add `apply()` for a single field to `YearMonthIntervalType` and
> `DayTimeIntervalType`
> -------------------------------------------------------------------------------------
>
> Key: SPARK-35840
> URL: https://issues.apache.org/jira/browse/SPARK-35840
> Project: Spark
> Issue Type: Sub-task
> Components: SQL
> Affects Versions: 3.2.0
> Reporter: Max Gekk
> Assignee: Max Gekk
> Priority: Major
> Fix For: 3.2.0
>
>
> Add 2 methods:
> {code:scala}
> def apply(field: Byte): YearMonthIntervalType =
> YearMonthIntervalType(field, field)
> def apply(field: Byte): DayTimeIntervalType = DayTimeIntervalType(field,
> field)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]