Slackbot
09/23/2022, 3:50 PMGian Merlino
09/23/2022, 4:28 PMREPLACE INTO <tbl>
OVERWRITE <some time range>
SELECT * FROM <tbl>
WHERE <same time range>
PARTITIONED BY <segment granularity>
CLUSTERED BY <any secondary partitioning dims>
for a table with rollup, it's a longer query: you'd also want to specify GROUP BY and the relevant aggregators and context properties as mentioned here https://druid.apache.org/docs/latest/multi-stage-query/concepts.html#rollupGian Merlino
09/23/2022, 4:31 PMDidip Kerabat
09/23/2022, 5:02 PMGian Merlino
09/23/2022, 5:38 PM