MaxGekk opened a new pull request #31729: URL: https://github.com/apache/spark/pull/31729
### What changes were proposed in this pull request? TODO ### Why are the changes needed? TODO ### Does this PR introduce _any_ user-facing change? The PR extends existing functionality. So, users can parallelize instances of the `java.time.Duration` class and collect them back: ```Scala scala> val ds = Seq(java.time.Duration.ofDays(10)).toDS ds: org.apache.spark.sql.Dataset[java.time.Duration] = [value: daytimeinterval] scala> ds.collect res0: Array[java.time.Duration] = Array(PT240H) ``` ### How was this patch tested? - Added a few tests to `CatalystTypeConvertersSuite` to check conversion from/to `java.time.Duration`. - Checking row encoding by new tests in `RowEncoderSuite`. - Making literals of `DayTimeIntervalType` are tested in `LiteralExpressionSuite` - Check collecting by `DatasetSuite` and `JavaDatasetSuite`. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
