aggregateWindow 1w start from monday

Hey,

when using aggregateWindow with 1w or 7d range, new timestamps will be on thursdays as Unix epoch was on thursday. Is it possible to change this behaviour so that the created timestamps will be different, like mondays for example?

Hello @sweng,
Welcome!
You could use the window() function and then apply your aggregation.

The window() function lets you specify an offset

Thanks,

it is fixed now.

1 Like