Azure数据工厂 'Pending Validation'

标签 azure azure-data-factory cortana-intelligence

我在 Azure 数据工厂服务中创建了一些管道,以将数据从 SQL 表移动到 Azure 表。但他们从不开始运行。相反,即使在我单击 Azure 门户中的运行 按钮后,源数据集仍然处于待验证状态。我已经检查了 external 属性,它们全部设置为 true。不知道是否还有其他可能的原因。

这是我的表格来源

{
    "name": "TableSrc",
    "properties": {
        "published": false,
        "type": "AzureSqlTable",
        "linkedServiceName": "LinkedService-AzureSql",
        "typeProperties": {
            "tableName": "myTable"
        },
        "availability": {
            "frequency": "Month",
            "interval": 1
        },
        "external": true,
        "policy": {}
    }
}

最佳答案

我在尝试设置每天运行的管道时遇到了这个问题,并认为我可以使用“anchorDateTime”可用性属性,并且我能够做到这一点,但您必须设置 "frequency" "availability"的属性(property)数据集中的部分调整为您要指定的最低粒度级别。也就是说,如果您希望某些内容在世界标准时间 (UTC) 每天下午 6:30 运行,您的数据集需要如下所示(因为您指定的是分钟级别的时间):

"availability": {
    "frequency": "Minute",
    "interval": 1440,
    "anchorDateTime": "2016-01-27T18:30:00Z"
}

"scheduler"管道的一部分需要类似于:

"scheduler": {
    "frequency": "Minute",
    "interval": 1440,
    "anchorDateTime": "2016-01-27T18:30:00Z"
}

这将每 1440 分钟(即每 24 小时)运行一次。我希望它能帮助其他人,因为 Microsoft 文档在这个主题上自相矛盾(或者至少是误导性的):

For a daily schedule, if you set anchorDateTime = 10/20/2014 6 AM means that the scheduling will happen every day at 6 AM.

这实际上不是真的,两行后它说:

If the AnchorDateTime has date parts that are more granular than the interval, then the more granular parts will be ignored. For example, if the interval is hourly (frequency: hour and interval: 1) and the AnchorDateTime contains minutes and seconds, then the minutes and seconds parts of the AnchorDateTime will be ignored.

第二部分是我认为我们遇到的问题以及我建议上述策略的原因。

引用:https://msdn.microsoft.com/en-us/library/azure/dn894092.aspx

关于Azure数据工厂 'Pending Validation',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32708747/

相关文章:

azure - 将参数从数据工厂中的 Web 事件发送到逻辑应用

python - 是否可以在 Azure 中导入 python 脚本?

cortana-intelligence - 有人有在 Azure ML Studio 环境中实现 R 包 XGBoost 的经验吗?

azure - 我可以停止 AKS 群集并启动吗?

node.js - Node 项目的 Azure git 部署失败

azure - 无法将面向 net451 或 net46 的 ASP.net core RC2 部署到 Azure Web App

Azure 数据工厂和 SharePoint

Azure Purview 支持 ADF 数据流中的 Delta 格式接收器

machine-learning - 如何将机器学习数据集连接到 Azure 中的 SQL 数据库?

azure - Azure Function App V2 是否可以使用超过 1.5 Gb 的内存