4806cc5bd1
### What changes were proposed in this pull request? `CalendarInterval` is maintained as a private class but might be used in a public way by users e.g. ```scala scala> spark.udf.register("getIntervalMonth", (_:org.apache.spark.unsafe.types.CalendarInterval).months) scala> sql("select interval 2 month 1 day a").selectExpr("getIntervalMonth(a)").show +-------------------+ |getIntervalMonth(a)| +-------------------+ | 2| +-------------------+ ``` And it exists since 1.5.0, now we go to the 3.x era,may be it's time to make it public ### Why are the changes needed? make the interval more future-proofing ### Does this PR introduce any user-facing change? doc change ### How was this patch tested? add ut. Closes #27258 from yaooqinn/SPARK-30547. Authored-by: Kent Yao <yaooqinn@hotmail.com> Signed-off-by: Wenchen Fan <wenchen@databricks.com> |
||
---|---|---|
.. | ||
kvstore | ||
network-common | ||
network-shuffle | ||
network-yarn | ||
sketch | ||
tags | ||
unsafe |