Slackbot
04/14/2023, 5:42 PMJohn Kowtko
04/14/2023, 8:34 PMINSERT into datasource2
select * from datasource1
where __time >= CURRENT_TIMESTAMP - INTERVAL '14' DAY
and __time < CURRENT_TIMESTAMP - INTERVAL '7' DAY
PARTITIONED BY ALL
And if you need to replace data in datasource2 then you would use the REPLACE/OVERWRITE syntax
I'm not sure I have the syntax exact, but hopefully this gives you enough to work with.Suneet Saldanha
04/14/2023, 8:56 PMReindex from Druid tile)akhil reddy
04/16/2023, 4:23 PMJohn Kowtko
04/16/2023, 4:37 PMakhil reddy
04/16/2023, 9:24 PM