Optiq currently makes all windowed aggregate functions nullable, but that is invalid. In many cases they will be `NOT NULL`.
- `RANK() OVER w` is not nullable;
- `FIRST_VALUE(deptno) OVER w` is nullable if and only if `deptno` is nullable;
- `SUM OVER w` is nullable iff x is nullable or w may be empty.