Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.2.0
Description
We need to disable the third input parameter in LEAD and LAG window functions. We should support this syntax.
LEAD(<expression>) ,or LEAD(<expression>,1)
LAG(<expression>), or LAG(<expression>,1)
In both the functions above, the second parameter is the default offset value, use of any other value must he handled and reported to user as error.
Use of a third input parameter to both the functions must be disallowed.