共用方式為


GetRecordProperties

✅ Azure 串流分析 ✅ 網狀架構事件串流

傳回具有記錄屬性名稱和值的數據集。 GetRecordProperties 函式的結果必須與 CROSS APPLY 運算元搭配使用。

語法

GetRecordProperties ( column_reference )  

論點

Column_reference

這是要評估的數據行參考表達式。 數據行必須是 Record 類型

傳回型別

傳回具有 PropertyName 和 PropertyValue 數據行的數據集。

範例

SELECT   
    recordProperty.PropertyName,  
    recordProperty.PropertyValue  
FROM input as event  
CROSS APPLY GetRecordProperties(event.recordField) AS recordProperty