Neha
07/31/2023, 5:13 AMNeha
07/31/2023, 5:15 AMvalue
from
p2d
group by
HOP(
proctime,
interval '5' minute,
interval '30' minute
),
store_id
union all
select
'lmSpeedKmph_avg_cxGh6_30m#' || cast(cx_gh6 as varchar) as key,
round(Avg(lm_speed_kmph), 4) AS value
from
p2d
group by
HOP(
proctime,
interval '5' minute,
interval '30' minute
),
cx_gh6
)Neha
07/31/2023, 5:15 AMvalue
from
p2d
group by
HOP(
proctime,
interval '5' minute,
interval '30' minute
),
cx_gh6
)Martijn Visser
07/31/2023, 8:03 AMNeha
07/31/2023, 8:04 AMMartijn Visser
07/31/2023, 8:05 AMMartijn Visser
07/31/2023, 8:06 AMNeha
07/31/2023, 8:14 AMMartijn Visser
07/31/2023, 8:16 AMUnion all is just creating parallel set of operators in the Flink UI. Can you please elaborate it more?My hypothesis would be is that if you apply a UNION ALL, the output of that operation is a changelog stream, not an append-only stream.
Neha
07/31/2023, 8:16 AMNeha
07/31/2023, 8:17 AMNeha
07/31/2023, 9:16 AM