简体   繁体   English

Azure流分析作业没有输入或输出

[英]Azure Stream Analytics Job has no input or output

I am using Blob Storage as an Input (JSON file). 我正在使用Blob存储作为输入(JSON文件)。 I have tested the Query, the Query seems fine. 我已经测试过查询,查询似乎很好。 I have specified Output as an Azure SQL Server Table. 我已将输出指定为Azure SQL Server表。 I can connect to this database from SSMS and query the table. 我可以从SSMS连接到该数据库并查询表。

The Job status is running but I don't see any data loaded into the SQL table. 作业状态正在运行,但是我看不到任何数据加载到SQL表中。 I have checked Azure Management Services the status is Running there are no errors. 我已经检查了Azure管理服务的状态为“正在运行”,没有错误。 How do I diagnose what is going on? 我如何诊断发生了什么?

Note: I have left Blob storage path prefix as empty. 注意:我将Blob存储路径前缀保留为空。 I would like it to grab any file that comes into the storage container and not some specific files. 我希望它能够捕获存储容器中的所有文件,而不是某些特定文件。

Have you created a query? 您创建查询了吗? You first need to create a query and then start your stream analytics. 您首先需要创建一个查询,然后启动流分析。

Query Example: 查询示例:

SELECT
    *
INTO
    Output
FROM
    Input

You can also create an output to PowerBI and run the SA. 您还可以创建到PowerBI的输出并运行SA。 This will show you if the data schema and the query is right. 这将显示数据模式和查询是否正确。 If everything goes well, you should be able to see the JSON files as a dataset with the name values listed. 如果一切顺利,您应该能够将JSON文件视为具有列出的名称值的数据集。 You can create a mini dashboard for just the count of items received so you can in real time see if its loading and processing the JSONs from the BLOB. 您可以创建一个仅用于接收项目计数的迷你仪表盘,以便实时查看其是否从BLOB加载和处理JSON。

If it fails, under operation logs to PBi output, it will tell you the data schema isn't supported. 如果失败,则在操作日志下记录到PBi输出,它将告诉您不支持数据模式。

Hope this helps! 希望这可以帮助! Mert 默特

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Azure Stream 分析作业无法检测到输入表或 output 表 - Azure Stream Analytics Job cannot detect either input table or output table 无法将 Azure 函数添加为流分析作业输出 - Unable to add Azure Function as Stream Analytics Job output Azure Stream 稀疏/无 output 的分析作业是否可行? - Is a Azure Stream Analytics job with sparse/ none output possible? 格式错误的输入(JSON)后,Azure Stream Analytics作业被阻止 - Azure Stream Analytics job is blocked after malformed input (JSON) Blob存储输入在Stream Analytics作业输出查询中返回null - Blob Storage Input returns null in Stream Analytics Job output query Azure ioT和Stream Analytics作业 - Azure ioT and Stream Analytics job Stream output data from Stream Analytics Job to Azure Synapse Analytics sql pool table? - Stream output data from Stream Analytics Job to Azure Synapse Analytics sql pool table? Azure流分析:“流分析作业具有验证错误:字典中不存在给定的密钥。” - Azure Stream Analytics: “Stream Analytics job has validation errors: The given key was not present in the dictionary.” 如何使用 azure 流分析实现多输入和多输出 - how to multiple input and multiple output using azure stream analytics Azure流分析获取先前的输出行以联接到输入 - Azure Stream Analytics Get Previous Output Row for Join to Input
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM