窗口函数 PRECEDING/FOLLOWING 不支持表达式,只支持常数

SELECT
sum(value) over (
partition by count_month
order by
count_month rows between 4 + value PRECEDING
and 12 FOLLOWING )
from
test

ERROR:
For ROWS window, the value of a PRECEDING/FOLLOWING offset must be a constant positive integer

请教下 有无替代方案