my continuous query is:
CREATE CONTINUOUS QUERY "resample_min" ON "trader" RESAMPLE EVERY 10s FOR 3m
BEGIN
select FIRST(close::field) AS open, MAX(close::field) AS high, MIN(close::field) AS low, LAST(close::field) AS close, LAST(open_interest::field) AS open_interest
into "tb_min" from tb_tick group by time(1m),symbol, variety, exchange
END
How can I ensure that the timestamps of the data inserted into tb_min correspond to the end times of the resampling?