Functions that perform calculations across rows of the query result.
Support for window functions is experimental and unlikely to be supported by the existing parsers.
- class forml.io.dsl.function.RowNumber¶
A unique sequential number for each row starting from one according to the ordering of rows within the window partition.
>>> ETL = Student.select(function.RowNumber().over(Student.surname))