Certain guidelines apply when you configure a transformation for windowing.
Consider the following rules and guidelines when you define windowing properties for a window function:
When you configure a frame, the start offset must be less than or equal to the end offset. Otherwise, the frame is not valid.
Configure a frame specification if you use an aggregate function as a window function. LEAD and LAG operate based on the offset value and ignore the frame specification.
You cannot use complex ports as partition or order keys.
Assign unique port names to partition and order keys to avoid run-time errors.
The partition and order keys cannot use both a dynamic port and one or more generated ports of the same dynamic port. You must select either the dynamic port or the generated ports.