Max Gekk created SPARK-35840: -------------------------------- Summary: 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
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: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org