I have issue with stream analytics query UNION operation result.
The following query if part one has no rows return, part two has 5 rows return, the UNION suppose to return 5 rows as result, but it return nothing.
SELECT EventKey, Events.ACP.EventType, Event.ACP.Details, NULL Involved
FROM Input1
WHERE Events.ACP IS NOT NULL
UNION
SELECT EventKey, Events.MED.EventType, Event.MED.Details, Event.MED.Involved
FROM Input1
WHERE Events.MED IS NOT NULL
Run each query will have correct number of result, but after union operation return nothing.
Regards
Union will produce a result for time stamp T only after both sides of the union reaches at least T. If one of the sides does not have data, then this will be controlled by your late arrival policy. Output should be produced after late arrival window.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With