Sandip Nayak
12/05/2023, 11:22 PMCREATE TABLE source (
`updated_at` timestamp(3),
`updated_at_1` timestamp(3),
`updated_at_2` timestamp(3),
`deleted_at` timestamp(3),
...
) WITH (
'connector' = 'kafka',
'topic' = 'mytopic'
...
);
I want to calculate max among updated_at , updated_at_1 and updated_at_2 for each event/kafka messageSandip Nayak
12/07/2023, 6:05 AMunion all , comparison operator >= etc., but feel like UDFs are probably the cleanest solution