Mark Rud Christensen
01/10/2025, 11:57 AMINSERT INTO output
SELECT
eventtime,
`value`
FROM (
SELECT
eventtime,
`value`,
ROW_NUMBER() OVER (PARTITION BY eventtime ORDER BY proctime DESC) AS rownum
FROM input)
WHERE rownum = 1Pedro Mázala
01/13/2025, 1:30 PMMark Rud Christensen
01/15/2025, 9:43 AMPedro Mázala
01/15/2025, 10:08 AM00.00.01 for example), you want to receive the whole table (00.00.01, 00.00.02, and 00.00.03). Is this correct?Mark Rud Christensen
01/15/2025, 10:08 AMPedro Mázala
01/15/2025, 10:18 AMeventtime) to be able to shard the data among different taskmanages/tasks. To achieve what you're describing, the state would have to be shared among all task managers. I think you could achieve it with Broadcast State. But this brings other shenanigans to the table.Pedro Mázala
01/15/2025, 10:18 AMMark Rud Christensen
01/15/2025, 11:12 AM