Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.7.0
-
Change the over window preceding clause from required to optional.
Description
The preceding clause of OVER Window in the traditional database is optional. The default is UNBOUNDED. So we can add the "as" method to OverWindowWithOrderBy. This way OVERWindow is written more easily. e.g.:
.window(Over partitionBy 'c orderBy 'proctime preceding UNBOUNDED_ROW as 'w)
Can be simplified as follows:
.window(Over partitionBy 'c orderBy 'proctime as 'w)
What do you think?
Attachments
Issue Links
- links to