I am trying to develop an array, a list or a sequence in Snowflake that has smaller increments than just moving by 1. So instead of creating something like:
SELECT seq4()
FROM table(generator(rowcount => 6))
That would display:
0
1
2
3
4
5
I want to be able set the steps or increments it moves between 1 and 5 by something like 0.01, so the result set would be:
0
0.01
0.02
0.03
0.04
0.05
.......
4.97
4.98
4.99
5
What would the best way to do this be? I am essentially trying to match a similar function to GENERATE_ARRAY in BigQuery where I can set the start, the end and the step sizes. Any ideas? Thanks a bunch