I have an Azure Stream Analytics job that enhances incoming data with some reference data. Some of them, e. g. physical addresses change not so often.
A generic script would look like this.
SELECT
a.input1
a.input2
b.input1
INTO output
from a
LEFT JOIN metadata AS b ON a.input1 = b.input1
If I try to run this script, I get an error:
System Exception Arithmetic operation resulted in an overflow. at Microsoft.Streaming.StreamingNode.ReferenceData.DiscoveryCursor.get_NextDiscoveryDueTimeInMillisecond() at Microsoft.Streaming.StreamingNode.ReferenceData.ReferenceDataDiscoveryStrategyBase.Discover() at Microsoft.Streaming.StreamingNode.ReferenceData.ReferenceDataDiscoveryProcessor.Process(Boolean isInitialization) at Microsoft.Streaming.StreamingNode.ReferenceData.ReferenceDataDiscoveryProcessor.InitializeInput() at Microsoft.Streaming.StreamingNode.ProcessorScheduler.InitializeTopology(CancellationToken cToken) at Microsoft.Streaming.StreamingNode.ProcessorScheduler.ThreadProc()
I simplified the script step by step. Eliminating every notion of b in the select statement was not sufficient, I even had to delete the Join
statement.
What troubles me is that there is no arithmetic operation, so I have no idea where the overflow should come from. And the reference data in my database are ridiculously simple.