Window.
partitionBy
Creates a WindowSpec with the partitioning defined.
WindowSpec
New in version 1.4.