Azure流分析OutputDataConversionError.InvalidColumnValue问题

Azure流分析OutputDataConversionError.InvalidColumnValue问题,azure,azure-stream-analytics,Azure,Azure Stream Analytics,我是Azure stream analytics的新手。在我的项目中,我有一个事件中心作为输入数据流,它发送不同类型的流。例如,我接收Test1和Test2 json类型作为输入。当我收到Test1 json类型时,我需要将数据保存到其他类型的Cosmos container1和container2中。为此,我编写了如下查询 WITH MyTest1 AS ( SELECT test1.id as id, test1.userid as userid, test1.ouid

我是Azure stream analytics的新手。在我的项目中,我有一个事件中心作为输入数据流,它发送不同类型的流。例如,我接收Test1和Test2 json类型作为输入。当我收到Test1 json类型时,我需要将数据保存到其他类型的Cosmos container1和container2中。为此,我编写了如下查询

WITH   
MyTest1 AS  
(  
SELECT
    test1.id as id, test1.userid as userid, test1.ouid as ouid, test1.bid as bid, test1.entid as entid, test1.action as action, test1.time as time, test1.data as data 
FROM
    inputeventhub
),  
MyTest2 AS  
(  
SELECT
    test2.id as id, test2.userid as userid, test2.ouid as ouid, test2.bid as bid, test2.entid as entid, test2.action as action, test2.time as time, test2.data as data 
    FROM
    inputeventhub
)

SELECT * INTO auditlogscontainer FROM MyTest1  
SELECT * INTO sample1containeroutput FROM MyTest2  
其中id是Cosmos文档id

使用上面的查询,我能够将流数据保存到相应的容器中,但最终我也得到了错误“
OutputDataConversionError.InvalidColumnValue
”。上面的查询似乎执行了2次,因为具有相同id的文档已经存在


请帮助我

这意味着ASA作业中至少有一个字段无法转换为输出中的有效类型。您可以启用资源/诊断日志以获取导致此错误的示例负载: