WindowSpec.
partitionBy
Defines the partitioning columns in a WindowSpec.
WindowSpec
New in version 1.4.0.
Column
names of columns or expressions