Description
Handle YearMonthIntervalType and DayTimeIntervalType in createBoundOrdering():
https://github.com/apache/spark/blob/0494dc90af48ce7da0625485a4dc6917a244d580/sql/core/src/main/scala/org/apache/spark/sql/execution/window/WindowExecBase.scala#L97-L99