Parser Error: cannot copy window
Parser Error: cannot copy window "windowname" because it has a frame clause
While trying to create a moving average window over a number of days, I got the error "cannot copy window". e.g.
Option 1 - Cast to ::STRING
To fix it change OVER(threew)
to OVER threew
.
i.e. The parenthesis should not be used.