ASA run same code with different result?

jane 60 Reputation points
2023-12-20T03:39:25.1+00:00

The following 2 codes get different result:

FROM IotBaseInput as event
CROSS APPLY GetArrayElements(event.monoEvent) AS arrayElement
CROSS APPLY GetRecordProperties(arrayElement.arrayvalue) AS recordProperty
Where recordProperty.PropertyName != 'bmsNum'

The result didn't filter 'bmsNum'


FROM IotHubInput AS event
CROSS APPLY GetArrayElements(event.event) AS arrayElement
CROSS APPLY GetRecordProperties(arrayElement.arrayvalue) AS recordProperty
Where recordProperty.PropertyName != 'recordTime' AND recordProperty.PropertyName != 'type'

The result without 'recordTime' and 'type'
Azure Stream Analytics
Azure Stream Analytics
An Azure real-time analytics service designed for mission-critical workloads.
333 questions
{count} votes